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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001252, allocations: 114.5 kB / 17.04 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.204/0.204, allocations: 43.51 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 68.28 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09584, allocations: 57.8 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.00284/0.09871, allocations: 2.404 MB / 444.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.09993, allocations: 0.9717 MB / 445.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1001, allocations: 7.938 kB / 445.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1004, allocations: 123.2 kB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1006, allocations: 103.3 kB / 445.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.1011, allocations: 283.5 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005319/0.1016, allocations: 0.721 MB / 446.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1018, allocations: 72.98 kB / 446.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.102, allocations: 306.9 kB / 446.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.1023, allocations: 330.7 kB / 447.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.1025, allocations: 60 kB / 447.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.1025, allocations: 64 kB / 447.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.1027, allocations: 183.6 kB / 447.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.1028, allocations: 246.7 kB / 447.8 MB, free: 288 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.1033, allocations: 0.5489 MB / 448.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1033, allocations: 0 / 448.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1033, allocations: 0 / 448.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1033, allocations: 4 kB / 448.4 MB, free: 15.73 MB / 334.1 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.002116/0.1055, allocations: 0.9431 MB / 449.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1055, allocations: 15.89 kB / 449.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1056, allocations: 68.31 kB / 449.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.1062, allocations: 379.1 kB / 449.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.1066, allocations: 263.7 kB / 450 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/0.1067, allocations: 48.38 kB / 450.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.1085, allocations: 0.8125 MB / 450.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.1086, allocations: 0 / 450.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.1086, allocations: 16 kB / 450.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1087, allocations: 16 kB / 450.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.1119, allocations: 1.192 MB / 452.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.1147, allocations: 2.046 MB / 454.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.1174, allocations: 0.8219 MB / 455 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.1189, allocations: 497.3 kB / 455.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.501e-05/0.119, allocations: 5.062 kB / 455.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.119, allocations: 46.5 kB / 455.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 2.094e-06/0.119, allocations: 0 / 455.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.08304/0.202, allocations: 15.75 MB / 471.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2021, allocations: 86.23 kB / 471.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.2027, allocations: 385.5 kB / 471.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.2028, allocations: 45.7 kB / 471.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.203, allocations: 225 kB / 472 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.2033, allocations: 398.2 kB / 472.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005736/0.2039, allocations: 202.8 kB / 472.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2041, allocations: 374.8 kB / 472.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003362/0.2074, allocations: 1.342 MB / 474.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/0.211, allocations: 1.501 MB / 475.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006143/0.2171, allocations: 2.445 MB / 478.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.2171, allocations: 0 / 478.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007237/0.2244, allocations: 2.83 MB / 481 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.2244, allocations: 5.25 kB / 481.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.2245, allocations: 4 kB / 481.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.2245, allocations: 8 kB / 481.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/0.2272, allocations: 415.6 kB / 481.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/0.2272, allocations: 11.94 kB / 481.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.2291, allocations: 211.7 kB / 481.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.2293, allocations: 43.98 kB / 481.7 MB, free: 13.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,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 (148): * Single equations (assignments): 148 * 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.000459/0.2297, allocations: 237.7 kB / 482 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.23, allocations: 67.25 kB / 482 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.2302, allocations: 108.7 kB / 482.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.2302, allocations: 12 kB / 482.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.2302, allocations: 3.938 kB / 482.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.2303, allocations: 3.984 kB / 482.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.2414, allocations: 5.234 MB / 487.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/0.2415, allocations: 20 kB / 487.4 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.2429, allocations: 360.1 kB / 487.8 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.019e-05/0.243, allocations: 31.94 kB / 487.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.2431, allocations: 48 kB / 487.8 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.254e-05/0.2431, allocations: 39.8 kB / 487.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.022e-05/0.2432, allocations: 31.88 kB / 487.9 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006849/0.25, allocations: 3.102 MB / 491 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.2505, allocations: 240.3 kB / 491.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.2507, allocations: 51.98 kB / 491.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.252, allocations: 187.8 kB / 491.5 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00043/0.2524, allocations: 219.2 kB / 491.7 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.2525, allocations: 56 kB / 491.7 MB, free: 3.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.2528, allocations: 267.1 kB / 492 MB, free: 2.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2528, allocations: 0 / 492 MB, free: 2.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001005/0.2538, allocations: 232 kB / 492.2 MB, free: 2.559 MB / 366.1 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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],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 (120): * Single equations (assignments): 120 * 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.0002225/0.2541, allocations: 166.7 kB / 492.4 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006026/0.2601, allocations: 2.387 MB / 494.8 MB, free: 0 / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.318e-05/0.2602, allocations: 4.172 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00321/0.2634, allocations: 1.066 MB / 495.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.2647, allocations: 153.1 kB / 496 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.2683, allocations: 1.942 MB / 497.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.2689, allocations: 0.9282 MB / 498.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001031/0.27, allocations: 210.1 kB / 499.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/0.2706, allocations: 71.42 kB / 499.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2706, allocations: 0 / 499.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Templates: time 0.02605/0.2966, allocations: 16.68 MB / 0.5037 GB, free: 10.62 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches