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.001392/0.001392, 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.001521/0.001521, allocations: 211.2 kB / 24.47 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.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2317/0.2317, allocations: 46.97 MB / 361.6 MB, free: 4.008 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.002072/0.002072, allocations: 67.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01031/0.3262, allocations: 7.644 MB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00735/0.3335, allocations: 3.285 MB / 0.5725 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009774/0.3345, allocations: 51.75 kB / 0.5725 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.3373, allocations: 1.328 MB / 0.5738 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.3396, allocations: 0.93 MB / 0.5747 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3407, allocations: 0.5225 MB / 0.5753 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002237/0.3429, allocations: 1.726 MB / 0.5769 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.3444, allocations: 1.251 MB / 0.5782 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009005/0.3453, allocations: 0.6737 MB / 0.5788 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3465, allocations: 0.9424 MB / 0.5797 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.3467, allocations: 140 kB / 0.5799 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.3477, allocations: 0.5617 MB / 0.5804 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007241/0.3485, allocations: 0.7557 MB / 0.5812 GB, free: 224 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007039/0.3492, allocations: 0.6413 MB / 0.5818 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.3519, allocations: 2.498 MB / 0.5842 GB, free: 13.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3519, allocations: 0 / 0.5842 GB, free: 13.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3519, allocations: 0 / 0.5842 GB, free: 13.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.639e-05/0.352, allocations: 0 / 0.5842 GB, free: 13.07 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.00364/0.3556, allocations: 1.971 MB / 0.5862 GB, free: 11.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3556, allocations: 12.03 kB / 0.5862 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.3568, allocations: 279.5 kB / 0.5864 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.359, allocations: 0.9957 MB / 0.5874 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/0.3591, allocations: 106.5 kB / 0.5875 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.3593, allocations: 123.9 kB / 0.5876 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005562/0.3648, allocations: 3.046 MB / 0.5906 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.822e-05/0.3649, allocations: 15.88 kB / 0.5906 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.365, allocations: 55.97 kB / 0.5907 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006662/0.3657, allocations: 438 kB / 0.5911 GB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004788/0.3705, allocations: 2.167 MB / 0.5932 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.3834, allocations: 9.893 MB / 0.6029 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/0.3875, allocations: 1.199 MB / 0.604 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000599/0.3881, allocations: 363.1 kB / 0.6044 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004063/0.3921, allocations: 2.017 MB / 0.6063 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.3922, allocations: 42.94 kB / 0.6064 GB, free: 5.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 3.096e-06/0.3922, allocations: 0 / 0.6064 GB, free: 5.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01209/0.4043, allocations: 3.574 MB / 0.6099 GB, free: 2.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.4043, allocations: 81.61 kB / 0.61 GB, free: 2.043 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.4059, allocations: 1.153 MB / 0.6111 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.406, allocations: 37.7 kB / 0.6111 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008011/0.4068, allocations: 0.9781 MB / 0.6121 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.407, allocations: 230.1 kB / 0.6123 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/0.4074, allocations: 319.3 kB / 0.6126 GB, free: 15.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4076, allocations: 357.9 kB / 0.6129 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/0.4083, allocations: 423.7 kB / 0.6133 GB, free: 14.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.4097, allocations: 1.279 MB / 0.6146 GB, free: 12.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.4121, allocations: 1.822 MB / 0.6164 GB, free: 10.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.4121, allocations: 8 kB / 0.6164 GB, free: 10.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002824/0.4149, allocations: 1.734 MB / 0.6181 GB, free: 8.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.4149, allocations: 16.94 kB / 0.6181 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/0.415, allocations: 32 kB / 0.6181 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/0.4152, allocations: 84.83 kB / 0.6182 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.4163, allocations: 363.3 kB / 0.6185 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.4181, allocations: 1.743 MB / 0.6202 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008727/0.419, allocations: 67.97 kB / 0.6203 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.4191, allocations: 84 kB / 0.6204 GB, free: 6.348 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.0009295/0.42, allocations: 0.6402 MB / 0.621 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.4202, allocations: 115.2 kB / 0.6211 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.4204, allocations: 134.6 kB / 0.6213 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.4204, allocations: 8 kB / 0.6213 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4205, allocations: 0 / 0.6213 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.4205, allocations: 3.984 kB / 0.6213 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.4238, allocations: 1.804 MB / 0.623 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.4238, allocations: 4 kB / 0.623 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.4242, allocations: 99.83 kB / 0.6231 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.4244, allocations: 64.75 kB / 0.6232 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.4244, allocations: 16 kB / 0.6232 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.4262, allocations: 1.802 MB / 0.625 GB, free: 1.465 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.4263, allocations: 11.94 kB / 0.625 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.4279, allocations: 1.099 MB / 0.6261 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.4281, allocations: 99.28 kB / 0.6261 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4282, allocations: 19.98 kB / 0.6262 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.4285, allocations: 32.05 kB / 0.6262 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.4286, allocations: 51.8 kB / 0.6262 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.4287, allocations: 20 kB / 0.6263 GB, free: 72 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009677/0.4296, allocations: 0.6986 MB / 0.6269 GB, free: 15.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4296, allocations: 0 / 0.6269 GB, free: 15.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001323/0.431, allocations: 292 kB / 0.6272 GB, free: 15.08 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.0002514/0.4312, allocations: 135.6 kB / 0.6274 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.4331, allocations: 1.081 MB / 0.6284 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4331, allocations: 0 / 0.6284 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.4337, allocations: 395.1 kB / 0.6288 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.4346, allocations: 179.2 kB / 0.629 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.4391, allocations: 2.867 MB / 0.6318 GB, free: 10.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.4402, allocations: 0.8588 MB / 0.6326 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009204/0.4412, allocations: 401.1 kB / 0.633 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.4413, allocations: 75.44 kB / 0.6331 GB, free: 8.957 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4413, allocations: 0 / 0.6331 GB, free: 8.957 MB / 478.1 MB Notification: Performance of Templates: time 0.02328/0.4646, allocations: 11.79 MB / 0.6446 GB, free: 13.34 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 gbode -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.330162857004325]