Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001921/0.001921, allocations: 73.17 kB / 21.24 MB, free: 0.5547 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.00239/0.00239, allocations: 158.5 kB / 24.5 MB, free: 3.715 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.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2017/0.2017, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002266/0.002266, allocations: 63.91 kB / 440.6 MB, free: 9.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3457, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003284/0.3489, allocations: 2.252 MB / 0.4963 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3507, allocations: 0.9402 MB / 0.4973 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.3511, allocations: 14.19 kB / 0.4973 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.3515, allocations: 119.2 kB / 0.4974 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.3519, allocations: 95.3 kB / 0.4975 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.3526, allocations: 302.4 kB / 0.4978 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005659/0.3532, allocations: 0.7185 MB / 0.4985 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.3534, allocations: 43.73 kB / 0.4985 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.3536, allocations: 289 kB / 0.4988 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.3539, allocations: 327.6 kB / 0.4991 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.354, allocations: 61.38 kB / 0.4992 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.3541, allocations: 63.19 kB / 0.4992 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.3543, allocations: 209.8 kB / 0.4994 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.3544, allocations: 204.2 kB / 0.4996 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.3549, allocations: 0.5775 MB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3549, allocations: 0 / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3549, allocations: 3.219 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3549, allocations: 3.938 kB / 0.5002 GB, free: 27.88 MB / 446.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.002253/0.3572, allocations: 0.8783 MB / 0.501 GB, free: 27.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3572, allocations: 9.375 kB / 0.501 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.3573, allocations: 66.17 kB / 0.5011 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.3579, allocations: 324.4 kB / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.3583, allocations: 0.6702 MB / 0.5021 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-05/0.3583, allocations: 44.66 kB / 0.5021 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.3603, allocations: 0.8164 MB / 0.5029 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.3603, allocations: 1.281 kB / 0.5029 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.3604, allocations: 16.53 kB / 0.5029 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3604, allocations: 12.38 kB / 0.5029 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/0.3638, allocations: 1.21 MB / 0.5041 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.3661, allocations: 1.845 MB / 0.5059 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.3688, allocations: 0.7603 MB / 0.5067 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.3703, allocations: 462.6 kB / 0.5071 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.499e-05/0.3704, allocations: 9.812 kB / 0.5071 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.3704, allocations: 42.12 kB / 0.5072 GB, free: 23.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.645e-06/0.3704, allocations: 3.938 kB / 0.5072 GB, free: 23.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=122): time 0.09315/0.4635, allocations: 15.55 MB / 0.5223 GB, free: 20.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.4636, allocations: 90.72 kB / 0.5224 GB, free: 20.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.4643, allocations: 417.9 kB / 0.5228 GB, free: 20.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.4645, allocations: 45.48 kB / 0.5229 GB, free: 20.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4646, allocations: 219.5 kB / 0.5231 GB, free: 19.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.465, allocations: 429.7 kB / 0.5235 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005499/0.4655, allocations: 202.3 kB / 0.5237 GB, free: 19.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4657, allocations: 378.2 kB / 0.524 GB, free: 19.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/0.4698, allocations: 1.357 MB / 0.5254 GB, free: 18.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003864/0.4736, allocations: 1.504 MB / 0.5268 GB, free: 17.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/0.4805, allocations: 2.459 MB / 0.5292 GB, free: 16.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.4805, allocations: 5.5 kB / 0.5292 GB, free: 16.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.007902/0.4884, allocations: 2.847 MB / 0.532 GB, free: 14.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.4884, allocations: 10.62 kB / 0.532 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4884, allocations: 3.375 kB / 0.532 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.164e-05/0.4885, allocations: 9.094 kB / 0.5321 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/0.4913, allocations: 410 kB / 0.5324 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/0.4913, allocations: 9.312 kB / 0.5325 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.4934, allocations: 228.8 kB / 0.5327 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.4936, allocations: 44.92 kB / 0.5327 GB, free: 14.5 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.0004655/0.494, allocations: 231.8 kB / 0.5329 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.4943, allocations: 65.42 kB / 0.533 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.4945, allocations: 112.5 kB / 0.5331 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4945, allocations: 16 kB / 0.5331 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/0.4945, allocations: 0.9688 kB / 0.5331 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4945, allocations: 15.91 kB / 0.5331 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.5061, allocations: 4.777 MB / 0.5378 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/0.5062, allocations: 20.81 kB / 0.5378 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.5077, allocations: 359.9 kB / 0.5382 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.012e-05/0.5078, allocations: 27.38 kB / 0.5382 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.5079, allocations: 51.75 kB / 0.5382 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.504e-05/0.5079, allocations: 41.02 kB / 0.5383 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-05/0.508, allocations: 31.88 kB / 0.5383 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00687/0.5148, allocations: 3.139 MB / 0.5414 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/0.5153, allocations: 171.5 kB / 0.5415 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5155, allocations: 51.98 kB / 0.5416 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.5168, allocations: 191.8 kB / 0.5418 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004062/0.5172, allocations: 227.1 kB / 0.542 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.5173, allocations: 59.98 kB / 0.542 GB, free: 6.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.5176, allocations: 283.1 kB / 0.5423 GB, free: 6.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5176, allocations: 0 / 0.5423 GB, free: 6.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001046/0.5186, allocations: 232 kB / 0.5425 GB, free: 6.277 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.0001887/0.5188, allocations: 170.7 kB / 0.5427 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006029/0.5248, allocations: 2.187 MB / 0.5448 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.157e-05/0.5248, allocations: 0 / 0.5448 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00326/0.5281, allocations: 1.069 MB / 0.5459 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.5294, allocations: 142.2 kB / 0.546 GB, free: 2.715 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.5329, allocations: 1.991 MB / 0.548 GB, free: 416 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.5333, allocations: 329.8 kB / 0.5483 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001127/0.5344, allocations: 206 kB / 0.5485 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006187/0.535, allocations: 72.42 kB / 0.5485 GB, free: 15.79 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.535, allocations: 0 / 0.5485 GB, free: 15.79 MB / 462.1 MB Notification: Performance of Templates: time 0.03014/0.5652, allocations: 18.09 MB / 0.5662 GB, free: 13.84 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.8317829120205715]