Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001464/0.001464, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001633/0.001633, allocations: 211.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2485/0.2485, allocations: 46.95 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 63.84 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4052, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.005461/0.4106, allocations: 2.245 MB / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.4134, allocations: 0.933 MB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.4137, allocations: 19.81 kB / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.4143, allocations: 119.3 kB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.4147, allocations: 95.33 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.4158, allocations: 299.5 kB / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.417, allocations: 0.7327 MB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.4172, allocations: 47.92 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004943/0.4177, allocations: 291.2 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006677/0.4184, allocations: 354.6 kB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.4185, allocations: 64 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.4186, allocations: 60 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.4189, allocations: 199.5 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.4193, allocations: 211 kB / 0.5666 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009185/0.4202, allocations: 0.5717 MB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4202, allocations: 4 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4202, allocations: 4 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.4202, allocations: 0 / 0.5671 GB, free: 13.93 MB / 414.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.003571/0.4238, allocations: 0.8753 MB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.4238, allocations: 12.02 kB / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.424, allocations: 64.61 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.425, allocations: 325.1 kB / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009129/0.4259, allocations: 0.6708 MB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.4261, allocations: 44.38 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.4292, allocations: 0.8165 MB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.4293, allocations: 4 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.636e-05/0.4294, allocations: 16 kB / 0.5699 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.4294, allocations: 12 kB / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005809/0.4352, allocations: 1.208 MB / 0.5711 GB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004597/0.4398, allocations: 1.833 MB / 0.5729 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004304/0.4441, allocations: 0.7642 MB / 0.5736 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.4465, allocations: 466.4 kB / 0.5741 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.4466, allocations: 8.562 kB / 0.5741 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.4467, allocations: 47.67 kB / 0.5741 GB, free: 6.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 6.812e-06/0.4467, allocations: 0 / 0.5741 GB, free: 6.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.1103/0.557, allocations: 15.55 MB / 0.5893 GB, free: 6.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5571, allocations: 90.11 kB / 0.5894 GB, free: 6.699 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009156/0.558, allocations: 421.4 kB / 0.5898 GB, free: 6.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003134/0.5584, allocations: 45.7 kB / 0.5898 GB, free: 6.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.5586, allocations: 217.6 kB / 0.59 GB, free: 6.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000734/0.5593, allocations: 432.3 kB / 0.5904 GB, free: 5.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008486/0.5602, allocations: 194.9 kB / 0.5906 GB, free: 5.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002985/0.5605, allocations: 378.7 kB / 0.591 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005519/0.566, allocations: 1.357 MB / 0.5923 GB, free: 3.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00607/0.5721, allocations: 1.513 MB / 0.5938 GB, free: 2.086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009888/0.582, allocations: 2.455 MB / 0.5962 GB, free: 15.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.582, allocations: 0 / 0.5962 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.01151/0.5935, allocations: 2.851 MB / 0.599 GB, free: 12.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.5935, allocations: 8 kB / 0.599 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.5936, allocations: 4 kB / 0.599 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.179e-05/0.5936, allocations: 11.98 kB / 0.599 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004548/0.5982, allocations: 411.6 kB / 0.5994 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.815e-05/0.5982, allocations: 8 kB / 0.5994 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/0.6015, allocations: 219.6 kB / 0.5996 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.6018, allocations: 47.98 kB / 0.5997 GB, free: 12.03 MB / 446.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: 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.0008105/0.6026, allocations: 233.9 kB / 0.5999 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/0.603, allocations: 67.58 kB / 0.5999 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.6033, allocations: 108.7 kB / 0.6001 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.6034, allocations: 12 kB / 0.6001 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/0.6034, allocations: 0 / 0.6001 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.6034, allocations: 15.91 kB / 0.6001 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.6213, allocations: 4.787 MB / 0.6048 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/0.6214, allocations: 20 kB / 0.6048 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/0.6238, allocations: 356 kB / 0.6051 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.888e-05/0.6239, allocations: 28 kB / 0.6051 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.624, allocations: 44 kB / 0.6052 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.349e-05/0.6241, allocations: 47.78 kB / 0.6052 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.41e-05/0.6241, allocations: 31.88 kB / 0.6053 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.6363, allocations: 3.143 MB / 0.6083 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009403/0.6372, allocations: 167.5 kB / 0.6085 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.6375, allocations: 47.98 kB / 0.6085 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/0.6397, allocations: 195.8 kB / 0.6087 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007537/0.6405, allocations: 227.2 kB / 0.6089 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/0.6406, allocations: 59.94 kB / 0.609 GB, free: 1.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00054/0.6412, allocations: 287.1 kB / 0.6093 GB, free: 1.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6412, allocations: 0 / 0.6093 GB, free: 1.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002046/0.6432, allocations: 232 kB / 0.6095 GB, free: 1.336 MB / 446.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: 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.0003642/0.6436, allocations: 170.8 kB / 0.6096 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008736/0.6523, allocations: 2.183 MB / 0.6118 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.12e-05/0.6523, allocations: 8.125 kB / 0.6118 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003701/0.656, allocations: 1.059 MB / 0.6128 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.6577, allocations: 152.6 kB / 0.613 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.6625, allocations: 1.99 MB / 0.6149 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.6631, allocations: 329.8 kB / 0.6152 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001194/0.6643, allocations: 201.9 kB / 0.6154 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/0.6649, allocations: 75.42 kB / 0.6155 GB, free: 10.84 MB / 462.1 MB Notification: Performance of SimCode: time 1.763e-06/0.6649, allocations: 0 / 0.6155 GB, free: 10.84 MB / 462.1 MB Notification: Performance of Templates: time 0.03371/0.6986, allocations: 18.89 MB / 0.6339 GB, free: 8.094 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.340659071225673]