Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001999/0.001999, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.236/0.236, allocations: 46.89 MB / 361.1 MB, free: 4.625 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 75.88 kB / 0.4968 GB, free: 8.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3679, allocations: 65.97 MB / 0.5612 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00739/0.3753, allocations: 8.712 MB / 0.5697 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005665/0.3809, allocations: 3.505 MB / 0.5731 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000865/0.3818, allocations: 45.06 kB / 0.5732 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.3843, allocations: 1.387 MB / 0.5745 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.3863, allocations: 0.9339 MB / 0.5754 GB, free: 25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.3873, allocations: 0.5147 MB / 0.5759 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002334/0.3896, allocations: 1.73 MB / 0.5776 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.391, allocations: 1.156 MB / 0.5787 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000961/0.392, allocations: 0.6701 MB / 0.5794 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.3933, allocations: 0.9421 MB / 0.5803 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.3935, allocations: 142.1 kB / 0.5805 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.3948, allocations: 0.5902 MB / 0.581 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008512/0.3956, allocations: 0.7446 MB / 0.5818 GB, free: 22.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007644/0.3964, allocations: 0.829 MB / 0.5826 GB, free: 22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.3998, allocations: 2.472 MB / 0.585 GB, free: 21.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3998, allocations: 0 / 0.585 GB, free: 21.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3998, allocations: 0 / 0.585 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.931e-05/0.3999, allocations: 3.938 kB / 0.585 GB, free: 21.09 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003908/0.4038, allocations: 2.043 MB / 0.587 GB, free: 19.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4038, allocations: 9.594 kB / 0.587 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.405, allocations: 273.1 kB / 0.5873 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.4071, allocations: 1.07 MB / 0.5883 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.4072, allocations: 100 kB / 0.5884 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.4074, allocations: 125.7 kB / 0.5885 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005848/0.4133, allocations: 2.997 MB / 0.5914 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.516e-05/0.4133, allocations: 14.83 kB / 0.5915 GB, free: 17.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.4135, allocations: 55.06 kB / 0.5915 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006624/0.4141, allocations: 436.3 kB / 0.5919 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005073/0.4192, allocations: 2.173 MB / 0.594 GB, free: 16.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.431, allocations: 10.72 MB / 0.6045 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.435, allocations: 1.198 MB / 0.6057 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.4355, allocations: 378.3 kB / 0.606 GB, free: 7.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003955/0.4395, allocations: 3.081 MB / 0.6091 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4395, allocations: 42.38 kB / 0.6091 GB, free: 5.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.084e-06/0.4395, allocations: 0 / 0.6091 GB, free: 5.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01098/0.4505, allocations: 3.815 MB / 0.6128 GB, free: 1.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4505, allocations: 81.67 kB / 0.6129 GB, free: 1.363 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.4517, allocations: 1.189 MB / 0.6141 GB, free: 164 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.4517, allocations: 33.7 kB / 0.6141 GB, free: 124 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007585/0.4525, allocations: 0.9703 MB / 0.615 GB, free: 15.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.4527, allocations: 230.1 kB / 0.6153 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.4531, allocations: 315.3 kB / 0.6156 GB, free: 14.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4532, allocations: 301.1 kB / 0.6158 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.4539, allocations: 423.7 kB / 0.6163 GB, free: 13.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.4554, allocations: 1.262 MB / 0.6175 GB, free: 12.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.4577, allocations: 1.814 MB / 0.6193 GB, free: 9.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.4577, allocations: 8 kB / 0.6193 GB, free: 9.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002839/0.4605, allocations: 1.742 MB / 0.621 GB, free: 8.219 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.4606, allocations: 18.5 kB / 0.621 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/0.4606, allocations: 32 kB / 0.621 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.4608, allocations: 84.83 kB / 0.6211 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4619, allocations: 363.9 kB / 0.6214 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.4638, allocations: 1.885 MB / 0.6233 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009081/0.4647, allocations: 63.98 kB / 0.6233 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.4648, allocations: 88 kB / 0.6234 GB, free: 5.551 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.001046/0.4659, allocations: 0.6439 MB / 0.6241 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.466, allocations: 119.2 kB / 0.6242 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.4663, allocations: 139.4 kB / 0.6243 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4663, allocations: 4 kB / 0.6243 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4663, allocations: 0 / 0.6243 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4663, allocations: 7.984 kB / 0.6243 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/0.4702, allocations: 2.235 MB / 0.6265 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4702, allocations: 4 kB / 0.6265 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.4706, allocations: 95.83 kB / 0.6266 GB, free: 2.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.4708, allocations: 69.3 kB / 0.6267 GB, free: 2.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.4708, allocations: 16 kB / 0.6267 GB, free: 2.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.4728, allocations: 1.955 MB / 0.6286 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4728, allocations: 4 kB / 0.6286 GB, free: 8 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.4744, allocations: 1.11 MB / 0.6297 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.4747, allocations: 184.3 kB / 0.6298 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4748, allocations: 12 kB / 0.6299 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.4752, allocations: 32.03 kB / 0.6299 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.4752, allocations: 47.83 kB / 0.6299 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.4753, allocations: 20 kB / 0.63 GB, free: 14.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.4763, allocations: 0.7554 MB / 0.6307 GB, free: 13.76 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4763, allocations: 0 / 0.6307 GB, free: 13.76 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001315/0.4776, allocations: 307.9 kB / 0.631 GB, free: 13.46 MB / 478.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.0002275/0.4778, allocations: 127 kB / 0.6311 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.4796, allocations: 1.077 MB / 0.6322 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4796, allocations: 4 kB / 0.6322 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.4802, allocations: 392.1 kB / 0.6325 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009697/0.4812, allocations: 182.5 kB / 0.6327 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.4861, allocations: 2.885 MB / 0.6355 GB, free: 8.707 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/0.4875, allocations: 1.451 MB / 0.6369 GB, free: 7.227 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009238/0.4884, allocations: 417.7 kB / 0.6373 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.4886, allocations: 75.44 kB / 0.6374 GB, free: 6.742 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4886, allocations: 0 / 0.6374 GB, free: 6.742 MB / 478.1 MB Notification: Performance of Templates: time 0.02304/0.5116, allocations: 11.21 MB / 0.6484 GB, free: 11.6 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.764930995181203]