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.001557/0.001557, allocations: 109 kB / 20.45 MB, free: 1.52 MB / 14.72 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.001587/0.001587, allocations: 211.3 kB / 23.75 MB, free: 4.75 MB / 14.72 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 1.302/1.302, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 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.1962/0.1962, allocations: 44.24 MB / 331 MB, free: 9.527 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 75.83 kB / 468.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 61.03 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003521/0.1079, allocations: 2.433 MB / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1096, allocations: 0.999 MB / 0.5207 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.1098, allocations: 19.75 kB / 0.5207 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1101, allocations: 115.2 kB / 0.5208 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.1103, allocations: 107.3 kB / 0.5209 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.1109, allocations: 291.5 kB / 0.5212 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007478/0.1117, allocations: 0.7329 MB / 0.5219 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.1118, allocations: 49.25 kB / 0.522 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.1122, allocations: 307 kB / 0.5223 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.1126, allocations: 338.7 kB / 0.5226 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.202e-05/0.1127, allocations: 60 kB / 0.5227 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.1128, allocations: 60 kB / 0.5227 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.113, allocations: 203.4 kB / 0.5229 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.1132, allocations: 234.8 kB / 0.5231 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.1137, allocations: 0.5642 MB / 0.5237 GB, free: 344 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1138, allocations: 4 kB / 0.5237 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1138, allocations: 0 / 0.5237 GB, free: 340 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1138, allocations: 0 / 0.5237 GB, free: 340 kB / 398.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.002165/0.1159, allocations: 0.8752 MB / 0.5245 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.116, allocations: 8.031 kB / 0.5245 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1161, allocations: 64.66 kB / 0.5246 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.1167, allocations: 317.1 kB / 0.5249 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005853/0.1172, allocations: 0.6669 MB / 0.5256 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-05/0.1173, allocations: 48.31 kB / 0.5256 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.1193, allocations: 0.8125 MB / 0.5264 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1193, allocations: 4 kB / 0.5264 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/0.1193, allocations: 16 kB / 0.5264 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1193, allocations: 8 kB / 0.5264 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.1227, allocations: 1.204 MB / 0.5276 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.1255, allocations: 2.014 MB / 0.5296 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.1283, allocations: 0.7777 MB / 0.5303 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.1297, allocations: 453.3 kB / 0.5308 GB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.481e-05/0.1297, allocations: 4 kB / 0.5308 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.1298, allocations: 50.44 kB / 0.5308 GB, free: 8.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.225e-06/0.1298, allocations: 0 / 0.5308 GB, free: 8.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.2597/0.3895, allocations: 15.46 MB / 0.5459 GB, free: 28.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3895, allocations: 89.98 kB / 0.546 GB, free: 27.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.3899, allocations: 388.4 kB / 0.5464 GB, free: 27.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.39, allocations: 41.92 kB / 0.5464 GB, free: 27.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/0.3901, allocations: 227.3 kB / 0.5466 GB, free: 27.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.3904, allocations: 425.4 kB / 0.547 GB, free: 27.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004741/0.3909, allocations: 194.7 kB / 0.5472 GB, free: 27.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.391, allocations: 374.9 kB / 0.5476 GB, free: 26.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/0.3942, allocations: 1.342 MB / 0.5489 GB, free: 26.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003265/0.3974, allocations: 1.502 MB / 0.5503 GB, free: 25.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005861/0.4033, allocations: 2.438 MB / 0.5527 GB, free: 24.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4033, allocations: 1.125 kB / 0.5527 GB, free: 24.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006801/0.4101, allocations: 2.831 MB / 0.5555 GB, free: 23.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4101, allocations: 6.062 kB / 0.5555 GB, free: 23.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4101, allocations: 4.062 kB / 0.5555 GB, free: 23.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.4101, allocations: 8.391 kB / 0.5555 GB, free: 23.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/0.4128, allocations: 410.4 kB / 0.5559 GB, free: 23.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/0.4128, allocations: 12.34 kB / 0.5559 GB, free: 23.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.4147, allocations: 219.2 kB / 0.5561 GB, free: 23.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.4148, allocations: 42.47 kB / 0.5562 GB, free: 23.48 MB / 414.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.0004127/0.4152, allocations: 236 kB / 0.5564 GB, free: 23.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.4154, allocations: 70.28 kB / 0.5565 GB, free: 23.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.4156, allocations: 116.9 kB / 0.5566 GB, free: 23.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4156, allocations: 14.69 kB / 0.5566 GB, free: 23.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/0.4157, allocations: 1.188 kB / 0.5566 GB, free: 23.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.4157, allocations: 5.859 kB / 0.5566 GB, free: 23.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.4261, allocations: 5.204 MB / 0.5617 GB, free: 20.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/0.4261, allocations: 20.62 kB / 0.5617 GB, free: 20.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.4275, allocations: 359.1 kB / 0.562 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.508e-05/0.4275, allocations: 30.75 kB / 0.5621 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.4276, allocations: 51.52 kB / 0.5621 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-05/0.4276, allocations: 40.22 kB / 0.5621 GB, free: 20.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-05/0.4276, allocations: 31.5 kB / 0.5622 GB, free: 20.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/0.4335, allocations: 3.088 MB / 0.5652 GB, free: 18.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.4339, allocations: 169.9 kB / 0.5654 GB, free: 18.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.434, allocations: 52.81 kB / 0.5654 GB, free: 18.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.4352, allocations: 188.7 kB / 0.5656 GB, free: 18.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/0.4355, allocations: 222 kB / 0.5658 GB, free: 18.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.4356, allocations: 59.84 kB / 0.5659 GB, free: 18.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.4358, allocations: 262.6 kB / 0.5661 GB, free: 18.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4358, allocations: 0 / 0.5661 GB, free: 18.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009474/0.4368, allocations: 233.8 kB / 0.5663 GB, free: 18.58 MB / 414.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.0001521/0.4369, allocations: 166.3 kB / 0.5665 GB, free: 18.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005161/0.4421, allocations: 2.16 MB / 0.5686 GB, free: 17.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.4421, allocations: 3.312 kB / 0.5686 GB, free: 17.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/0.4448, allocations: 1.053 MB / 0.5696 GB, free: 16.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.446, allocations: 143.7 kB / 0.5698 GB, free: 16.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.4489, allocations: 2.009 MB / 0.5717 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4492, allocations: 0.9267 MB / 0.5726 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/0.4498, allocations: 80.3 kB / 0.5727 GB, free: 14.3 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4498, allocations: 0 / 0.5727 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Templates: time 0.01355/0.4634, allocations: 14.38 MB / 0.5868 GB, free: 2.266 MB / 414.1 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.78084716014564]