Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001716/0.001716, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002008/0.002008, allocations: 217.2 kB / 22.99 MB, free: 4.977 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.813/1.813, allocations: 207.7 MB / 233.8 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.2576/0.2576, allocations: 44.28 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") [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.002476/0.002476, allocations: 67.91 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1457, allocations: 61.05 MB / 0.5167 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01044/0.1562, allocations: 7.683 MB / 0.5242 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008145/0.1643, allocations: 3.274 MB / 0.5274 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.1661, allocations: 51.75 kB / 0.5274 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.1693, allocations: 1.328 MB / 0.5287 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.1724, allocations: 0.9806 MB / 0.5297 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1738, allocations: 0.5108 MB / 0.5302 GB, free: 8.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002958/0.1768, allocations: 1.695 MB / 0.5318 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.1795, allocations: 1.268 MB / 0.533 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.1813, allocations: 0.6854 MB / 0.5337 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.1834, allocations: 0.8799 MB / 0.5346 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005874/0.184, allocations: 140 kB / 0.5347 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.1857, allocations: 0.5851 MB / 0.5353 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.1869, allocations: 0.748 MB / 0.536 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.1888, allocations: 0.6606 MB / 0.5367 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3608/0.5496, allocations: 2.528 MB / 0.5391 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.455e-05/0.5496, allocations: 0.6562 kB / 0.5391 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5496, allocations: 0 / 0.5391 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001427/0.5498, allocations: 0.7188 kB / 0.5391 GB, free: 15.15 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.005514/0.5553, allocations: 1.98 MB / 0.5411 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.5553, allocations: 10.28 kB / 0.5411 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.5566, allocations: 273.3 kB / 0.5413 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.5592, allocations: 1.088 MB / 0.5424 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.5593, allocations: 95.77 kB / 0.5425 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.5595, allocations: 127.5 kB / 0.5426 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006705/0.5662, allocations: 3.036 MB / 0.5456 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/0.5663, allocations: 9.609 kB / 0.5456 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.5664, allocations: 61.75 kB / 0.5456 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008341/0.5673, allocations: 434.3 kB / 0.5461 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005736/0.573, allocations: 2.154 MB / 0.5482 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/0.5878, allocations: 9.882 MB / 0.5578 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004181/0.592, allocations: 1.176 MB / 0.559 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.5926, allocations: 370.6 kB / 0.5593 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004548/0.5972, allocations: 2.01 MB / 0.5613 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.5972, allocations: 38.59 kB / 0.5613 GB, free: 5.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.735e-06/0.5972, allocations: 4 kB / 0.5613 GB, free: 5.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01288/0.6101, allocations: 3.553 MB / 0.5648 GB, free: 4.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.6102, allocations: 88.89 kB / 0.5649 GB, free: 4.129 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.6122, allocations: 1.172 MB / 0.566 GB, free: 3.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.6122, allocations: 35.98 kB / 0.566 GB, free: 3.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/0.6128, allocations: 0.971 MB / 0.567 GB, free: 2.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.613, allocations: 232.6 kB / 0.5672 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/0.6134, allocations: 314.7 kB / 0.5675 GB, free: 2.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6135, allocations: 361.7 kB / 0.5679 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.6142, allocations: 417.7 kB / 0.5683 GB, free: 2.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.6154, allocations: 1.281 MB / 0.5695 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.6177, allocations: 1.805 MB / 0.5713 GB, free: 15.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.6177, allocations: 8.719 kB / 0.5713 GB, free: 15.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003282/0.621, allocations: 1.728 MB / 0.573 GB, free: 14.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.6211, allocations: 21.75 kB / 0.573 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.661e-05/0.6211, allocations: 30.44 kB / 0.573 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.6214, allocations: 87.34 kB / 0.5731 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.6224, allocations: 358.1 kB / 0.5734 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.6243, allocations: 1.746 MB / 0.5751 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.6255, allocations: 72.2 kB / 0.5752 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.6257, allocations: 85.81 kB / 0.5753 GB, free: 13.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.6268, allocations: 0.6446 MB / 0.5759 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.6271, allocations: 120.4 kB / 0.576 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.6284, allocations: 0.6882 MB / 0.5767 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.6284, allocations: 9.562 kB / 0.5767 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6284, allocations: 2.938 kB / 0.5767 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.6284, allocations: 9.172 kB / 0.5767 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/0.6321, allocations: 1.794 MB / 0.5785 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.6321, allocations: 5.375 kB / 0.5785 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.6325, allocations: 97.19 kB / 0.5786 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002095/0.6327, allocations: 61.69 kB / 0.5786 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.6327, allocations: 15.81 kB / 0.5787 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.6346, allocations: 1.81 MB / 0.5804 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6346, allocations: 6.594 kB / 0.5804 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.6363, allocations: 1.099 MB / 0.5815 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/0.6368, allocations: 144 kB / 0.5816 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.6369, allocations: 21.91 kB / 0.5817 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.6372, allocations: 22.06 kB / 0.5817 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.6373, allocations: 53.38 kB / 0.5817 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.6373, allocations: 18.34 kB / 0.5818 GB, free: 9.418 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.6383, allocations: 0.7139 MB / 0.5825 GB, free: 9.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6383, allocations: 0 / 0.5825 GB, free: 9.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001991/0.6403, allocations: 301.8 kB / 0.5827 GB, free: 9.105 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004313/0.6408, allocations: 135.2 kB / 0.5829 GB, free: 9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.6435, allocations: 1.064 MB / 0.5839 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.6435, allocations: 2.094 kB / 0.5839 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.6442, allocations: 386.2 kB / 0.5843 GB, free: 8.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.6453, allocations: 165.9 kB / 0.5844 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/0.6505, allocations: 2.897 MB / 0.5873 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.6516, allocations: 0.8592 MB / 0.5881 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009488/0.6526, allocations: 405.9 kB / 0.5885 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.6527, allocations: 76.19 kB / 0.5886 GB, free: 5.895 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6527, allocations: 3.938 kB / 0.5886 GB, free: 5.891 MB / 430.1 MB Notification: Performance of Templates: time 0.0247/0.6774, allocations: 11.39 MB / 0.5997 GB, free: 11.12 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.521903745830059]