Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009162/0.0009162, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000776/0.000776, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8577/0.8577, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1432/0.1432, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.42e-05, allocations: 5.938 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002633/0.002667, allocations: 2.255 MB / 410.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004059, allocations: 0.9637 MB / 411.3 MB, free: 9.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.004248, allocations: 15.88 kB / 411.3 MB, free: 9.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.004585, allocations: 119.2 kB / 411.4 MB, free: 9.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.004783, allocations: 107.2 kB / 411.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.005357, allocations: 287.4 kB / 411.8 MB, free: 9.273 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006495/0.006006, allocations: 0.7328 MB / 412.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.00615, allocations: 49.25 kB / 412.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.006588, allocations: 395.2 kB / 413 MB, free: 8.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.006893, allocations: 295.1 kB / 413.3 MB, free: 7.812 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.00697, allocations: 64 kB / 413.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.007028, allocations: 64 kB / 413.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.007169, allocations: 203.4 kB / 413.6 MB, free: 7.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.007297, allocations: 175.6 kB / 413.8 MB, free: 7.316 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.00781, allocations: 0.6231 MB / 414.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.007814, allocations: 0 / 414.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007815, allocations: 0 / 414.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.007823, allocations: 0 / 414.4 MB, free: 6.691 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001439/0.009263, allocations: 0.883 MB / 415.3 MB, free: 5.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.0093, allocations: 8.031 kB / 415.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.792e-05/0.009398, allocations: 68.61 kB / 415.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.009848, allocations: 316.3 kB / 415.7 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003704/0.01022, allocations: 0.6708 MB / 416.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.0103, allocations: 44.38 kB / 416.4 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.0115, allocations: 0.8208 MB / 417.2 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.01151, allocations: 192 / 417.2 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.01155, allocations: 20.12 kB / 417.2 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.01156, allocations: 12 kB / 417.2 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.01349, allocations: 1.216 MB / 418.4 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.01529, allocations: 1.848 MB / 420.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.01681, allocations: 0.7483 MB / 421 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007927/0.01761, allocations: 463.3 kB / 421.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.01767, allocations: 8 kB / 421.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.0177, allocations: 50.48 kB / 421.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 1.974e-06/0.0177, allocations: 4 kB / 421.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.2251/0.2428, allocations: 15.54 MB / 437.1 MB, free: 40.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.2429, allocations: 92.44 kB / 437.2 MB, free: 40.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.2434, allocations: 419.2 kB / 437.6 MB, free: 40.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.2436, allocations: 44.52 kB / 437.6 MB, free: 40.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2437, allocations: 226.5 kB / 437.9 MB, free: 40.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.244, allocations: 413.1 kB / 438.3 MB, free: 40.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.2444, allocations: 202 kB / 438.5 MB, free: 40.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.2445, allocations: 376.8 kB / 438.8 MB, free: 39.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.2469, allocations: 1.355 MB / 440.2 MB, free: 39.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.2494, allocations: 1.507 MB / 441.7 MB, free: 38.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004294/0.2537, allocations: 2.459 MB / 444.2 MB, free: 37.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.2537, allocations: 0 / 444.2 MB, free: 37.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005313/0.259, allocations: 2.856 MB / 447 MB, free: 36.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.259, allocations: 6.688 kB / 447 MB, free: 36.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.2591, allocations: 3.156 kB / 447 MB, free: 36.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/0.2591, allocations: 12.23 kB / 447 MB, free: 36.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.2606, allocations: 411 kB / 447.4 MB, free: 36.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/0.2606, allocations: 9.625 kB / 447.4 MB, free: 36.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.2617, allocations: 220.4 kB / 447.7 MB, free: 36.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.2618, allocations: 39.98 kB / 447.7 MB, free: 36.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004166/0.2623, allocations: 241.9 kB / 447.9 MB, free: 36.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.2624, allocations: 66.53 kB / 448 MB, free: 36.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.2626, allocations: 108.6 kB / 448.1 MB, free: 36.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.2626, allocations: 11.78 kB / 448.1 MB, free: 36.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/0.2626, allocations: 5.062 kB / 448.1 MB, free: 36.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.2626, allocations: 5.906 kB / 448.1 MB, free: 36.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007759/0.2704, allocations: 4.788 MB / 452.9 MB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/0.2704, allocations: 25.34 kB / 452.9 MB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.2712, allocations: 350.1 kB / 453.3 MB, free: 33.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.747e-05/0.2713, allocations: 32.84 kB / 453.3 MB, free: 33.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/0.2713, allocations: 50.7 kB / 453.4 MB, free: 33.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/0.2714, allocations: 41.27 kB / 453.4 MB, free: 33.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.852e-05/0.2714, allocations: 31.25 kB / 453.4 MB, free: 33.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004238/0.2756, allocations: 3.096 MB / 456.5 MB, free: 32.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.276, allocations: 168.3 kB / 456.7 MB, free: 31.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/0.2761, allocations: 55.47 kB / 456.7 MB, free: 31.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.2767, allocations: 192.5 kB / 456.9 MB, free: 31.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/0.277, allocations: 224.9 kB / 457.2 MB, free: 31.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.2771, allocations: 58.11 kB / 457.2 MB, free: 31.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.2773, allocations: 284.8 kB / 457.5 MB, free: 31.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2773, allocations: 0 / 457.5 MB, free: 31.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007538/0.278, allocations: 234.9 kB / 457.7 MB, free: 31.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001716/0.2782, allocations: 170.2 kB / 457.9 MB, free: 31.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003311/0.2815, allocations: 2.189 MB / 460.1 MB, free: 29.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.2815, allocations: 3.828 kB / 460.1 MB, free: 29.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.2835, allocations: 1.067 MB / 461.1 MB, free: 28.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008673/0.2843, allocations: 157.6 kB / 461.3 MB, free: 28.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.2865, allocations: 1.978 MB / 463.3 MB, free: 25.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2868, allocations: 325.8 kB / 463.6 MB, free: 25.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/0.2873, allocations: 88.42 kB / 463.7 MB, free: 25.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2873, allocations: 4 kB / 463.7 MB, free: 25.49 MB / 362.7 MB Notification: Performance of Templates: time 0.01218/0.2994, allocations: 14.56 MB / 478.2 MB, free: 10.95 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.444430408068001]