Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001785/0.001785, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001483/0.001483, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.2315/0.2315, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] 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.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [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.002091/0.002091, allocations: 67.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 65.49 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01032/0.3424, allocations: 7.621 MB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007773/0.3502, allocations: 3.285 MB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3513, allocations: 55.75 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.3542, allocations: 1.324 MB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.3576, allocations: 0.9417 MB / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.359, allocations: 0.5186 MB / 0.5709 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002505/0.3615, allocations: 1.726 MB / 0.5726 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.3631, allocations: 1.256 MB / 0.5738 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.364, allocations: 0.666 MB / 0.5745 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.3653, allocations: 0.8799 MB / 0.5753 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.3656, allocations: 140 kB / 0.5754 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.3667, allocations: 0.55 MB / 0.576 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008021/0.3675, allocations: 0.7518 MB / 0.5767 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007615/0.3683, allocations: 0.6412 MB / 0.5773 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002975/0.3712, allocations: 2.505 MB / 0.5798 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3712, allocations: 0 / 0.5798 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3712, allocations: 7.938 kB / 0.5798 GB, free: 0.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.209e-05/0.3713, allocations: 0 / 0.5798 GB, free: 0.5 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.004014/0.3753, allocations: 1.963 MB / 0.5817 GB, free: 14.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3753, allocations: 12.03 kB / 0.5817 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.3764, allocations: 275.6 kB / 0.582 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.3787, allocations: 1.003 MB / 0.583 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-05/0.3788, allocations: 94.58 kB / 0.5831 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.379, allocations: 131.9 kB / 0.5832 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005971/0.385, allocations: 3.046 MB / 0.5862 GB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.959e-05/0.3851, allocations: 15.88 kB / 0.5862 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.3852, allocations: 55.97 kB / 0.5862 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006518/0.3859, allocations: 434 kB / 0.5866 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004921/0.3908, allocations: 2.179 MB / 0.5888 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.4043, allocations: 9.885 MB / 0.5984 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/0.4087, allocations: 1.199 MB / 0.5996 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.4093, allocations: 367.1 kB / 0.5999 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004121/0.4134, allocations: 2.017 MB / 0.6019 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.4134, allocations: 35 kB / 0.6019 GB, free: 9.203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.485e-06/0.4134, allocations: 4 kB / 0.602 GB, free: 9.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01224/0.4257, allocations: 3.574 MB / 0.6054 GB, free: 5.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.4257, allocations: 85.61 kB / 0.6055 GB, free: 5.469 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.4274, allocations: 1.149 MB / 0.6066 GB, free: 4.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.4274, allocations: 37.7 kB / 0.6067 GB, free: 4.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/0.4283, allocations: 0.9779 MB / 0.6076 GB, free: 3.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.4285, allocations: 226.2 kB / 0.6079 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003944/0.4289, allocations: 319.3 kB / 0.6082 GB, free: 2.723 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4291, allocations: 361.9 kB / 0.6085 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/0.4298, allocations: 419.7 kB / 0.6089 GB, free: 1.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.4312, allocations: 1.279 MB / 0.6102 GB, free: 264 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.4335, allocations: 1.818 MB / 0.6119 GB, free: 14.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.4336, allocations: 12 kB / 0.6119 GB, free: 14.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002937/0.4365, allocations: 1.727 MB / 0.6136 GB, free: 12.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.4365, allocations: 23.98 kB / 0.6136 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.4366, allocations: 28 kB / 0.6137 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/0.4368, allocations: 89.67 kB / 0.6138 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.4379, allocations: 363.3 kB / 0.6141 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.4397, allocations: 1.739 MB / 0.6158 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.4407, allocations: 71.92 kB / 0.6159 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.4408, allocations: 88 kB / 0.616 GB, free: 9.773 MB / 462.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.0009738/0.4417, allocations: 0.6324 MB / 0.6166 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4419, allocations: 119.2 kB / 0.6167 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.4421, allocations: 130.6 kB / 0.6168 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4421, allocations: 4 kB / 0.6168 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4421, allocations: 0 / 0.6168 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4421, allocations: 4 kB / 0.6168 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.4456, allocations: 1.8 MB / 0.6186 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.4456, allocations: 7.938 kB / 0.6186 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.446, allocations: 103.9 kB / 0.6187 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.4462, allocations: 68.88 kB / 0.6188 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.4462, allocations: 20 kB / 0.6188 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.4482, allocations: 1.805 MB / 0.6205 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.4482, allocations: 8 kB / 0.6205 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.4499, allocations: 1.102 MB / 0.6216 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.4502, allocations: 99.31 kB / 0.6217 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.4503, allocations: 16 kB / 0.6217 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.4507, allocations: 28.03 kB / 0.6218 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.4508, allocations: 59.8 kB / 0.6218 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.4508, allocations: 16 kB / 0.6218 GB, free: 3.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.4519, allocations: 0.6947 MB / 0.6225 GB, free: 2.797 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4519, allocations: 4 kB / 0.6225 GB, free: 2.793 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001436/0.4534, allocations: 296 kB / 0.6228 GB, free: 2.504 MB / 462.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.0002502/0.4536, allocations: 119.6 kB / 0.6229 GB, free: 2.375 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.4556, allocations: 1.084 MB / 0.624 GB, free: 1.285 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4556, allocations: 0 / 0.624 GB, free: 1.285 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006549/0.4563, allocations: 404.5 kB / 0.6244 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000975/0.4572, allocations: 174.9 kB / 0.6245 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.4623, allocations: 2.867 MB / 0.6273 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.4634, allocations: 0.8549 MB / 0.6282 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001033/0.4644, allocations: 405 kB / 0.6285 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.4646, allocations: 75.44 kB / 0.6286 GB, free: 12.39 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4646, allocations: 0 / 0.6286 GB, free: 12.39 MB / 478.1 MB Notification: Performance of Templates: time 0.02374/0.4883, allocations: 11.26 MB / 0.6396 GB, free: 1.301 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.646407825872302]