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.001533/0.001533, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001693/0.001693, allocations: 221.1 kB / 25.13 MB, free: 3.609 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.438/1.438, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2331/0.2331, allocations: 46.93 MB / 362 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 180] 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.002376/0.002376, allocations: 79.86 kB / 0.4978 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3923, allocations: 66.08 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01087/0.4032, allocations: 8.632 MB / 0.5708 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007516/0.4107, allocations: 3.498 MB / 0.5742 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.412, allocations: 55.75 kB / 0.5742 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002929/0.4149, allocations: 1.39 MB / 0.5756 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.4176, allocations: 0.9339 MB / 0.5765 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.4188, allocations: 0.5186 MB / 0.577 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.4213, allocations: 1.726 MB / 0.5787 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.4228, allocations: 1.252 MB / 0.5799 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009456/0.4237, allocations: 0.6698 MB / 0.5806 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.425, allocations: 0.9464 MB / 0.5815 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.4252, allocations: 136 kB / 0.5816 GB, free: 400 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.4263, allocations: 0.5695 MB / 0.5822 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007578/0.4271, allocations: 0.748 MB / 0.5829 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.4281, allocations: 0.8237 MB / 0.5837 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003207/0.4313, allocations: 2.498 MB / 0.5861 GB, free: 11.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4313, allocations: 4 kB / 0.5862 GB, free: 11.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4313, allocations: 0 / 0.5862 GB, free: 11.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.501e-05/0.4313, allocations: 4 kB / 0.5862 GB, free: 11.73 MB / 430.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.003603/0.4349, allocations: 1.963 MB / 0.5881 GB, free: 9.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.435, allocations: 8.031 kB / 0.5881 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.436, allocations: 279.6 kB / 0.5883 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.4381, allocations: 1.003 MB / 0.5893 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.4382, allocations: 94.58 kB / 0.5894 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.4384, allocations: 131.9 kB / 0.5895 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005508/0.4439, allocations: 3.05 MB / 0.5925 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.4439, allocations: 7.938 kB / 0.5925 GB, free: 4.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.4441, allocations: 63.91 kB / 0.5926 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006333/0.4447, allocations: 430 kB / 0.593 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004772/0.4495, allocations: 2.191 MB / 0.5951 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/0.4631, allocations: 10.6 MB / 0.6055 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/0.467, allocations: 1.196 MB / 0.6067 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/0.4676, allocations: 375 kB / 0.607 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003786/0.4714, allocations: 2.097 MB / 0.6091 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.4714, allocations: 43 kB / 0.6091 GB, free: 3.605 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.766e-06/0.4714, allocations: 0 / 0.6091 GB, free: 3.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01158/0.483, allocations: 3.586 MB / 0.6126 GB, free: 15.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.4831, allocations: 81.61 kB / 0.6127 GB, free: 15.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.4848, allocations: 1.189 MB / 0.6138 GB, free: 14.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.4848, allocations: 33.7 kB / 0.6139 GB, free: 14.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007646/0.4856, allocations: 0.9702 MB / 0.6148 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.4858, allocations: 226.2 kB / 0.615 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004361/0.4862, allocations: 315.3 kB / 0.6153 GB, free: 13.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4863, allocations: 305.1 kB / 0.6156 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.487, allocations: 423.7 kB / 0.616 GB, free: 12.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.4885, allocations: 1.283 MB / 0.6173 GB, free: 10.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.491, allocations: 1.822 MB / 0.6191 GB, free: 8.453 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.491, allocations: 8 kB / 0.6191 GB, free: 8.445 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003482/0.4945, allocations: 1.738 MB / 0.6208 GB, free: 6.695 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.4945, allocations: 16 kB / 0.6208 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.624e-05/0.4946, allocations: 32.88 kB / 0.6208 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.4949, allocations: 92.81 kB / 0.6209 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.496, allocations: 359.3 kB / 0.6213 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.4979, allocations: 1.773 MB / 0.623 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4989, allocations: 67.92 kB / 0.6231 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.499, allocations: 88 kB / 0.6231 GB, free: 4.16 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.0009729/0.5, allocations: 0.6518 MB / 0.6238 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.5001, allocations: 115.2 kB / 0.6239 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.5004, allocations: 135.3 kB / 0.624 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5004, allocations: 4 kB / 0.624 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5004, allocations: 0 / 0.624 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5004, allocations: 7.984 kB / 0.624 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.504, allocations: 2.2 MB / 0.6262 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.504, allocations: 4 kB / 0.6262 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.5044, allocations: 104.3 kB / 0.6263 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.5045, allocations: 64.83 kB / 0.6263 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.5046, allocations: 19.94 kB / 0.6264 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.5064, allocations: 1.84 MB / 0.6282 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.5064, allocations: 12 kB / 0.6282 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.508, allocations: 1.114 MB / 0.6293 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.5082, allocations: 107.2 kB / 0.6294 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.5083, allocations: 19.98 kB / 0.6294 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.5086, allocations: 23.98 kB / 0.6294 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.5087, allocations: 47.8 kB / 0.6294 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.5088, allocations: 20 kB / 0.6295 GB, free: 13.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001093/0.5099, allocations: 0.7555 MB / 0.6302 GB, free: 12.63 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5099, allocations: 0 / 0.6302 GB, free: 12.63 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001322/0.5112, allocations: 303.9 kB / 0.6305 GB, free: 12.33 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.0002136/0.5114, allocations: 123.1 kB / 0.6306 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.5133, allocations: 1.088 MB / 0.6317 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5133, allocations: 0 / 0.6317 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.5139, allocations: 396.2 kB / 0.632 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009095/0.5148, allocations: 176.7 kB / 0.6322 GB, free: 10.53 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.5194, allocations: 2.879 MB / 0.635 GB, free: 7.566 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.5207, allocations: 1.454 MB / 0.6364 GB, free: 6.082 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009829/0.5217, allocations: 413.6 kB / 0.6368 GB, free: 5.676 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.5219, allocations: 75.44 kB / 0.6369 GB, free: 5.602 MB / 478.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5219, allocations: 0 / 0.6369 GB, free: 5.602 MB / 478.1 MB Notification: Performance of Templates: time 0.02524/0.5471, allocations: 11.8 MB / 0.6484 GB, free: 9.867 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.752551343059167]