Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001306/0.001306, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001541/0.001541, allocations: 207.4 kB / 24.48 MB, free: 3.977 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.419/1.419, allocations: 230.6 MB / 258.2 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 46.95 MB / 361.6 MB, free: 4.086 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+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.1.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.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.91 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3342, allocations: 66.03 MB / 0.5618 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01064/0.3448, allocations: 7.647 MB / 0.5693 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007179/0.352, allocations: 3.289 MB / 0.5725 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.353, allocations: 51.75 kB / 0.5725 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.3557, allocations: 1.324 MB / 0.5738 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.3583, allocations: 0.9379 MB / 0.5748 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3594, allocations: 0.5147 MB / 0.5753 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.3618, allocations: 1.722 MB / 0.5769 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.3634, allocations: 1.251 MB / 0.5782 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009121/0.3643, allocations: 0.6815 MB / 0.5788 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.3656, allocations: 0.9386 MB / 0.5797 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.3659, allocations: 140 kB / 0.5799 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.367, allocations: 0.5695 MB / 0.5804 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007671/0.3677, allocations: 0.7518 MB / 0.5812 GB, free: 324 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000786/0.3685, allocations: 0.6451 MB / 0.5818 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.3714, allocations: 2.494 MB / 0.5842 GB, free: 13.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3714, allocations: 0 / 0.5842 GB, free: 13.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3714, allocations: 0 / 0.5842 GB, free: 13.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.963e-05/0.3714, allocations: 0 / 0.5842 GB, free: 13.17 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.003463/0.3749, allocations: 1.979 MB / 0.5862 GB, free: 11.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3749, allocations: 8.031 kB / 0.5862 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.376, allocations: 275.6 kB / 0.5864 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.3781, allocations: 1.003 MB / 0.5874 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/0.3782, allocations: 102.5 kB / 0.5875 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.3784, allocations: 127.9 kB / 0.5876 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/0.3839, allocations: 3.042 MB / 0.5906 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.071e-05/0.384, allocations: 15.88 kB / 0.5906 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.3841, allocations: 63.95 kB / 0.5907 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006535/0.3848, allocations: 430 kB / 0.5911 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004708/0.3895, allocations: 2.171 MB / 0.5932 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.402, allocations: 9.886 MB / 0.6029 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/0.4058, allocations: 1.191 MB / 0.604 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.4064, allocations: 371.1 kB / 0.6044 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003819/0.4102, allocations: 2.009 MB / 0.6063 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/0.4103, allocations: 46.92 kB / 0.6064 GB, free: 5.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 3.036e-06/0.4103, allocations: 0 / 0.6064 GB, free: 5.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01172/0.422, allocations: 3.574 MB / 0.6099 GB, free: 2.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4221, allocations: 93.59 kB / 0.61 GB, free: 2.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.4237, allocations: 1.149 MB / 0.6111 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.4238, allocations: 37.7 kB / 0.6111 GB, free: 0.918 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008508/0.4246, allocations: 0.9664 MB / 0.6121 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.4249, allocations: 234.1 kB / 0.6123 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004295/0.4253, allocations: 319.3 kB / 0.6126 GB, free: 15.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.4255, allocations: 353.9 kB / 0.6129 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.4262, allocations: 423.7 kB / 0.6133 GB, free: 14.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.4277, allocations: 1.279 MB / 0.6146 GB, free: 12.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.4299, allocations: 1.822 MB / 0.6164 GB, free: 10.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.4299, allocations: 8 kB / 0.6164 GB, free: 10.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002714/0.4326, allocations: 1.731 MB / 0.6181 GB, free: 8.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.4327, allocations: 16.22 kB / 0.6181 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/0.4327, allocations: 36 kB / 0.6181 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.4329, allocations: 84.83 kB / 0.6182 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.434, allocations: 367.3 kB / 0.6185 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.4357, allocations: 1.739 MB / 0.6202 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.4366, allocations: 76.03 kB / 0.6203 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.4367, allocations: 84 kB / 0.6204 GB, free: 6.441 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.000949/0.4376, allocations: 0.6402 MB / 0.621 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4378, allocations: 115.2 kB / 0.6211 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.438, allocations: 130.6 kB / 0.6213 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.438, allocations: 4 kB / 0.6213 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.438, allocations: 4 kB / 0.6213 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.438, allocations: 7.984 kB / 0.6213 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.4411, allocations: 1.8 MB / 0.623 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.4411, allocations: 4 kB / 0.623 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.4415, allocations: 95.81 kB / 0.6231 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.4417, allocations: 64.77 kB / 0.6232 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.4417, allocations: 16 kB / 0.6232 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.4435, allocations: 1.81 MB / 0.625 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.4435, allocations: 7.938 kB / 0.625 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.4451, allocations: 1.11 MB / 0.6261 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.4452, allocations: 99.36 kB / 0.6262 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.846e-05/0.4453, allocations: 15.98 kB / 0.6262 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.4457, allocations: 27.92 kB / 0.6262 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.4458, allocations: 51.8 kB / 0.6262 GB, free: 188 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.4458, allocations: 20 kB / 0.6263 GB, free: 168 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009433/0.4468, allocations: 0.6986 MB / 0.6269 GB, free: 15.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4468, allocations: 0 / 0.6269 GB, free: 15.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001325/0.4481, allocations: 292 kB / 0.6272 GB, free: 15.17 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.0002323/0.4483, allocations: 131.6 kB / 0.6274 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.4501, allocations: 1.081 MB / 0.6284 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4501, allocations: 0 / 0.6284 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.4507, allocations: 394.3 kB / 0.6288 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.4516, allocations: 170.1 kB / 0.6289 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.4565, allocations: 2.867 MB / 0.6317 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.4576, allocations: 0.8627 MB / 0.6326 GB, free: 9.523 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009287/0.4585, allocations: 401.2 kB / 0.633 GB, free: 9.129 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.4587, allocations: 75.42 kB / 0.633 GB, free: 9.059 MB / 478.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4587, allocations: 0 / 0.633 GB, free: 9.059 MB / 478.1 MB Notification: Performance of Templates: time 0.02223/0.4809, allocations: 11.81 MB / 0.6446 GB, free: 13.42 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.425441030994989]