Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.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.002085/0.002085, allocations: 96.2 kB / 20.21 MB, free: 4.195 MB / 18.57 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.00167/0.00167, allocations: 157.7 kB / 23.52 MB, free: 0.8945 MB / 18.57 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.494/1.494, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 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.226/0.226, allocations: 32.38 MB / 270 MB, free: 14.87 MB / 266.7 MB " [Timeout remaining time 180] 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.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.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 347 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.098e-05, allocations: 6.25 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01437/0.0144, allocations: 13.24 MB / 360.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.02822, allocations: 4.899 MB / 365.1 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.03245, allocations: 127.3 kB / 365.2 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009767/0.04222, allocations: 4.345 MB / 369.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009386/0.05161, allocations: 2.597 MB / 372.2 MB, free: 492 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.05531, allocations: 1.201 MB / 373.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0134/0.06871, allocations: 7.826 MB / 381.2 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01002/0.07873, allocations: 5.052 MB / 386.2 MB, free: 2.316 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/0.09057, allocations: 3.649 MB / 389.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007892/0.09846, allocations: 3.55 MB / 393.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002592/0.1011, allocations: 0.5273 MB / 394 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004583/0.1056, allocations: 1.362 MB / 395.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005523/0.1112, allocations: 3.062 MB / 398.4 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006558/0.1177, allocations: 1.955 MB / 400.3 MB, free: 4.176 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.1365, allocations: 10.4 MB / 410.7 MB, free: 9.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1365, allocations: 0 / 410.7 MB, free: 9.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1365, allocations: 0 / 410.7 MB, free: 9.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004123/0.1369, allocations: 0 / 410.7 MB, free: 9.746 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.02298/0.1599, allocations: 7.297 MB / 418 MB, free: 2.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.16, allocations: 8.031 kB / 418 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0291/0.1891, allocations: 4.077 MB / 422.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/0.2028, allocations: 4.517 MB / 426.6 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.2032, allocations: 337 kB / 427 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/0.2056, allocations: 456 kB / 427.4 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.248/0.4536, allocations: 13.83 MB / 441.2 MB, free: 82.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005459/0.4541, allocations: 71.05 kB / 441.3 MB, free: 82.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002155/0.4563, allocations: 209 kB / 441.5 MB, free: 82.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006365/0.4627, allocations: 2.666 MB / 444.2 MB, free: 82.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02635/0.489, allocations: 11.86 MB / 456 MB, free: 75.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0699/0.5589, allocations: 50.23 MB / 0.4944 GB, free: 24.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.5717, allocations: 5.155 MB / 0.4994 GB, free: 19.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004019/0.5758, allocations: 3.3 MB / 0.5027 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/0.5764, allocations: 256 kB / 0.5029 GB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.5765, allocations: 71.06 kB / 0.503 GB, free: 15.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=254): time 5.58e-06/0.5765, allocations: 0 / 0.503 GB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=324): time 0.1346/0.7111, allocations: 45.85 MB / 0.5478 GB, free: 2.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002351/0.7113, allocations: 273.3 kB / 0.548 GB, free: 1.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009522/0.7208, allocations: 5.184 MB / 0.5531 GB, free: 12.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008765/0.7217, allocations: 69.7 kB / 0.5531 GB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004263/0.726, allocations: 4.142 MB / 0.5572 GB, free: 8.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002163/0.7281, allocations: 1.24 MB / 0.5584 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002983/0.7311, allocations: 1.62 MB / 0.56 GB, free: 5.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7313, allocations: 301.1 kB / 0.5603 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007273/0.7386, allocations: 3.924 MB / 0.5641 GB, free: 1.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/0.7511, allocations: 8.268 MB / 0.5722 GB, free: 7.227 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02169/0.7728, allocations: 12.91 MB / 0.5848 GB, free: 8.223 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001494/0.7729, allocations: 44 kB / 0.5848 GB, free: 8.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.1925/0.9654, allocations: 14.74 MB / 0.5992 GB, free: 143.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.9655, allocations: 67.84 kB / 0.5993 GB, free: 143.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002769/0.9658, allocations: 145.4 kB / 0.5994 GB, free: 143.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008237/0.9741, allocations: 3.13 MB / 0.6025 GB, free: 143.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006401/0.9805, allocations: 1.862 MB / 0.6043 GB, free: 143 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/1, allocations: 17.48 MB / 0.6214 GB, free: 134.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007627/1.008, allocations: 0.6064 MB / 0.622 GB, free: 134.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/1.009, allocations: 464.1 kB / 0.6224 GB, free: 134.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 667 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (968): * Single equations (assignments): 963 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005725/1.015, allocations: 2.821 MB / 0.6252 GB, free: 132 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/1.017, allocations: 0.5493 MB / 0.6257 GB, free: 131.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.03, allocations: 8.605 MB / 0.6341 GB, free: 123.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-05/1.03, allocations: 38.11 kB / 0.6341 GB, free: 123.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/1.03, allocations: 8 kB / 0.6341 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-05/1.031, allocations: 23.88 kB / 0.6342 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02934/1.06, allocations: 16.56 MB / 0.6503 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/1.06, allocations: 8 kB / 0.6503 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.063, allocations: 0.5578 MB / 0.6509 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007029/1.07, allocations: 2.833 MB / 0.6537 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007932/1.071, allocations: 71.42 kB / 0.6537 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/1.087, allocations: 15.66 MB / 0.669 GB, free: 87.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.087, allocations: 12 kB / 0.669 GB, free: 87.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/1.106, allocations: 13.64 MB / 0.6824 GB, free: 74.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003402/1.109, allocations: 1.108 MB / 0.6834 GB, free: 73.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/1.11, allocations: 63.98 kB / 0.6835 GB, free: 73.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003778/1.114, allocations: 355.4 kB / 0.6838 GB, free: 72.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007681/1.115, allocations: 229.3 kB / 0.6841 GB, free: 72.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002593/1.115, allocations: 91.98 kB / 0.6841 GB, free: 72.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004676/1.12, allocations: 3.102 MB / 0.6872 GB, free: 69.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/1.12, allocations: 0 / 0.6872 GB, free: 69.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008565/1.128, allocations: 1.809 MB / 0.6889 GB, free: 67.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (263): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008906/1.129, allocations: 224.7 kB / 0.6892 GB, free: 67.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.015/1.144, allocations: 9.21 MB / 0.6981 GB, free: 58.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/1.144, allocations: 1.438 kB / 0.6981 GB, free: 58.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005371/1.15, allocations: 3.57 MB / 0.7016 GB, free: 54.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00701/1.157, allocations: 0.6292 MB / 0.7022 GB, free: 53.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/1.186, allocations: 15.34 MB / 0.7172 GB, free: 38.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007234/1.193, allocations: 3.909 MB / 0.721 GB, free: 34.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006037/1.199, allocations: 2.473 MB / 0.7235 GB, free: 32.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/1.201, allocations: 344.4 kB / 0.7238 GB, free: 31.69 MB / 442.7 MB Notification: Performance of SimCode: time 2.655e-06/1.201, allocations: 4 kB / 0.7238 GB, free: 31.68 MB / 442.7 MB Notification: Performance of Templates: time 0.3022/1.503, allocations: 68.32 MB / 0.7905 GB, free: 119.2 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.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: 8.508394867996685]