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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 186 kB / 21.49 MB, free: 0.8242 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.864/1.864, allocations: 207.6 MB / 232.1 MB, free: 3.18 MB / 174.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.4339/0.4339, allocations: 44.23 MB / 328.4 MB, free: 6.176 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 74.14 kB / 465.5 MB, free: 45.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.145, allocations: 61 MB / 0.5142 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009622/0.1547, allocations: 8.768 MB / 0.5228 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008755/0.1634, allocations: 3.496 MB / 0.5262 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.1653, allocations: 47.88 kB / 0.5262 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.1679, allocations: 1.382 MB / 0.5276 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.171, allocations: 0.9573 MB / 0.5285 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1724, allocations: 0.5303 MB / 0.529 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.1753, allocations: 1.687 MB / 0.5307 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.177, allocations: 1.179 MB / 0.5318 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.1781, allocations: 0.6814 MB / 0.5325 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.1794, allocations: 0.9464 MB / 0.5334 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.1796, allocations: 143.9 kB / 0.5336 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.1808, allocations: 0.6241 MB / 0.5342 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007938/0.1816, allocations: 0.7402 MB / 0.5349 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009073/0.1825, allocations: 0.8354 MB / 0.5357 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.1859, allocations: 2.514 MB / 0.5382 GB, free: 4.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.186, allocations: 0 / 0.5382 GB, free: 4.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.186, allocations: 0 / 0.5382 GB, free: 4.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.667e-05/0.186, allocations: 0 / 0.5382 GB, free: 4.586 MB / 398.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.003922/0.1899, allocations: 2.065 MB / 0.5402 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.19, allocations: 15.84 kB / 0.5402 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.191, allocations: 275.6 kB / 0.5404 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.1932, allocations: 1.142 MB / 0.5416 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1933, allocations: 98.58 kB / 0.5417 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.1935, allocations: 127.9 kB / 0.5418 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005398/0.1989, allocations: 2.984 MB / 0.5447 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.913e-05/0.199, allocations: 11.94 kB / 0.5447 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.1991, allocations: 51.97 kB / 0.5448 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006371/0.1997, allocations: 434 kB / 0.5452 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004699/0.2044, allocations: 2.167 MB / 0.5473 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.2188, allocations: 10.72 MB / 0.5578 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.2226, allocations: 1.183 MB / 0.5589 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/0.2232, allocations: 379.6 kB / 0.5593 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004375/0.2276, allocations: 2.998 MB / 0.5622 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.2276, allocations: 43 kB / 0.5622 GB, free: 11.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.445e-06/0.2276, allocations: 0 / 0.5622 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01158/0.2392, allocations: 3.786 MB / 0.5659 GB, free: 7.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.2393, allocations: 85.67 kB / 0.566 GB, free: 7.051 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.2412, allocations: 1.21 MB / 0.5672 GB, free: 5.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.2413, allocations: 33.7 kB / 0.5672 GB, free: 5.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008432/0.2421, allocations: 0.9703 MB / 0.5682 GB, free: 4.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.2423, allocations: 234.1 kB / 0.5684 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/0.2428, allocations: 319.3 kB / 0.5687 GB, free: 4.258 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2429, allocations: 301.1 kB / 0.569 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.2436, allocations: 411.7 kB / 0.5694 GB, free: 3.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.2452, allocations: 1.266 MB / 0.5706 GB, free: 1.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.2474, allocations: 1.802 MB / 0.5724 GB, free: 15.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.2474, allocations: 8 kB / 0.5724 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002979/0.2504, allocations: 1.731 MB / 0.5741 GB, free: 13.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.2505, allocations: 20 kB / 0.5741 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.15e-05/0.2505, allocations: 35.92 kB / 0.5741 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.2508, allocations: 84.83 kB / 0.5742 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.2518, allocations: 359.3 kB / 0.5746 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.2538, allocations: 1.877 MB / 0.5764 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.2549, allocations: 72 kB / 0.5765 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.255, allocations: 84 kB / 0.5765 GB, free: 11.25 MB / 446.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.001061/0.256, allocations: 0.6478 MB / 0.5772 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.2562, allocations: 115.2 kB / 0.5773 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.2575, allocations: 0.7107 MB / 0.578 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2575, allocations: 8 kB / 0.578 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2575, allocations: 0 / 0.578 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2575, allocations: 0 / 0.578 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/0.2612, allocations: 2.231 MB / 0.5802 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2612, allocations: 4 kB / 0.5802 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.2616, allocations: 95.83 kB / 0.5803 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001916/0.2618, allocations: 65.31 kB / 0.5803 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.2618, allocations: 15.94 kB / 0.5803 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.2636, allocations: 1.944 MB / 0.5822 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.2636, allocations: 11.88 kB / 0.5822 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.2652, allocations: 1.105 MB / 0.5833 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.2656, allocations: 224.3 kB / 0.5835 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2657, allocations: 16 kB / 0.5836 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.266, allocations: 23.98 kB / 0.5836 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.2661, allocations: 55.88 kB / 0.5836 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.2661, allocations: 16 kB / 0.5836 GB, free: 3.621 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00114/0.2673, allocations: 0.7677 MB / 0.5844 GB, free: 2.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2673, allocations: 3.938 kB / 0.5844 GB, free: 2.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001531/0.2688, allocations: 304 kB / 0.5847 GB, free: 2.547 MB / 446.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.0002854/0.2691, allocations: 135.1 kB / 0.5848 GB, free: 2.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.2709, allocations: 1.062 MB / 0.5859 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2709, allocations: 4.062 kB / 0.5859 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.2715, allocations: 386.2 kB / 0.5862 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.2724, allocations: 189.6 kB / 0.5864 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.2772, allocations: 2.901 MB / 0.5892 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.2785, allocations: 1.455 MB / 0.5907 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009584/0.2795, allocations: 405.7 kB / 0.5911 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.2796, allocations: 83.42 kB / 0.5911 GB, free: 11.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.523e-06/0.2797, allocations: 4 kB / 0.5911 GB, free: 11.8 MB / 462.1 MB Notification: Performance of Templates: time 0.02493/0.3046, allocations: 11.34 MB / 0.6022 GB, free: 496 kB / 462.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.1862714141607285]