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.002646/0.002646, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.003598/0.003598, allocations: 169.2 kB / 23.53 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.413/1.413, allocations: 158.6 MB / 185.3 MB, free: 2.91 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.2264/0.2264, allocations: 32.37 MB / 270 MB, free: 14.86 MB / 266.7 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.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 1.904e-06/1.904e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.342e-05, allocations: 2.312 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01624/0.01627, allocations: 14.66 MB / 361.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.03049, allocations: 5 MB / 366.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.03432, allocations: 127.3 kB / 366.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.04509, allocations: 4.485 MB / 371.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008659/0.05375, allocations: 2.585 MB / 373.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003973/0.05772, allocations: 1.201 MB / 375 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01494/0.07266, allocations: 7.83 MB / 382.8 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.08332, allocations: 5.076 MB / 387.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/0.09487, allocations: 3.664 MB / 391.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008411/0.1033, allocations: 3.64 MB / 395.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002639/0.1059, allocations: 0.5195 MB / 395.7 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/0.1113, allocations: 1.35 MB / 397.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005147/0.1164, allocations: 3.086 MB / 400.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004933/0.1214, allocations: 1.955 MB / 402.1 MB, free: 2.395 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01999/0.1413, allocations: 10.39 MB / 412.5 MB, free: 7.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.1414, allocations: 3.984 kB / 412.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1414, allocations: 0 / 412.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005197/0.1419, allocations: 4 kB / 412.5 MB, free: 7.969 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.02918/0.1711, allocations: 8.347 MB / 420.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.345e-05/0.1711, allocations: 12.03 kB / 420.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03536/0.2065, allocations: 4.038 MB / 424.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/0.2213, allocations: 4.157 MB / 429.1 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005391/0.2218, allocations: 333 kB / 429.4 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003067/0.2249, allocations: 460.1 kB / 429.8 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/0.2562, allocations: 8.873 MB / 438.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004883/0.2567, allocations: 71.41 kB / 438.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002303/0.259, allocations: 215.8 kB / 439 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006427/0.2654, allocations: 2.656 MB / 441.7 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02442/0.2898, allocations: 5.018 MB / 446.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3163/0.6062, allocations: 62.41 MB / 0.4972 GB, free: 46.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.6166, allocations: 2.952 MB / 0.5 GB, free: 43.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/0.6189, allocations: 1.039 MB / 0.5011 GB, free: 42.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005545/0.6195, allocations: 240.9 kB / 0.5013 GB, free: 42.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.729e-05/0.6196, allocations: 63.39 kB / 0.5013 GB, free: 42.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=254): time 7.815e-06/0.6196, allocations: 0 / 0.5013 GB, free: 42.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=324): time 0.0919/0.7115, allocations: 25.73 MB / 0.5265 GB, free: 16.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.7116, allocations: 269.4 kB / 0.5267 GB, free: 16.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007706/0.7193, allocations: 5.615 MB / 0.5322 GB, free: 11.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001132/0.7204, allocations: 77.53 kB / 0.5323 GB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002816/0.7233, allocations: 4.614 MB / 0.5368 GB, free: 6.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001861/0.7251, allocations: 1.398 MB / 0.5382 GB, free: 5.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002582/0.7277, allocations: 2.051 MB / 0.5402 GB, free: 3.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.7278, allocations: 480.7 kB / 0.5406 GB, free: 2.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.7306, allocations: 1.257 MB / 0.5418 GB, free: 1.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/0.7419, allocations: 7.945 MB / 0.5496 GB, free: 6.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02044/0.7623, allocations: 10.14 MB / 0.5595 GB, free: 9.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003593/0.7627, allocations: 43.98 kB / 0.5595 GB, free: 9.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.03108/0.7937, allocations: 8.66 MB / 0.568 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003499/0.7941, allocations: 68 kB / 0.5681 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004193/0.7945, allocations: 151.9 kB / 0.5682 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008866/0.8034, allocations: 1.802 MB / 0.57 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008644/0.812, allocations: 1.829 MB / 0.5718 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/0.833, allocations: 8.691 MB / 0.5802 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009657/0.8426, allocations: 0.5772 MB / 0.5808 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002828/0.8455, allocations: 463.9 kB / 0.5812 GB, free: 3.078 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * 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 (973): * Single equations (assignments): 968 * 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.007639/0.8531, allocations: 0.9108 MB / 0.5821 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003055/0.8562, allocations: 0.5517 MB / 0.5827 GB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/0.8706, allocations: 4.135 MB / 0.5867 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.989e-05/0.8707, allocations: 36 kB / 0.5868 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-05/0.8707, allocations: 12 kB / 0.5868 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.369e-05/0.8707, allocations: 11.95 kB / 0.5868 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03916/0.9099, allocations: 12.09 MB / 0.5986 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-05/0.9099, allocations: 4 kB / 0.5986 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/0.913, allocations: 0.5195 MB / 0.5991 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2696/1.183, allocations: 1.576 MB / 0.6006 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000968/1.184, allocations: 60.84 kB / 0.6007 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/1.203, allocations: 7.328 MB / 0.6078 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.203, allocations: 17.53 kB / 0.6079 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/1.219, allocations: 5.876 MB / 0.6136 GB, free: 132 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004791/1.224, allocations: 0.9921 MB / 0.6146 GB, free: 132 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/1.226, allocations: 60.7 kB / 0.6146 GB, free: 132 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004415/1.23, allocations: 308.4 kB / 0.6149 GB, free: 132 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007616/1.231, allocations: 223.3 kB / 0.6151 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002466/1.232, allocations: 90.69 kB / 0.6152 GB, free: 131.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00429/1.236, allocations: 2.383 MB / 0.6175 GB, free: 131.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/1.236, allocations: 3.875 kB / 0.6175 GB, free: 131.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00951/1.245, allocations: 1.765 MB / 0.6193 GB, free: 131.7 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.00106/1.246, allocations: 234.6 kB / 0.6195 GB, free: 131.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01185/1.258, allocations: 5.549 MB / 0.6249 GB, free: 130.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/1.258, allocations: 3.938 kB / 0.6249 GB, free: 130.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004237/1.262, allocations: 2.041 MB / 0.6269 GB, free: 130.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/1.268, allocations: 0.6178 MB / 0.6275 GB, free: 129.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02851/1.296, allocations: 12.13 MB / 0.6394 GB, free: 118.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005513/1.302, allocations: 3.58 MB / 0.6429 GB, free: 115.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005428/1.307, allocations: 2.051 MB / 0.6449 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/1.309, allocations: 344.4 kB / 0.6452 GB, free: 112.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.544e-06/1.309, allocations: 0 / 0.6452 GB, free: 112.9 MB / 442.7 MB Notification: Performance of Templates: time 0.1013/1.41, allocations: 65.16 MB / 0.7088 GB, free: 47.84 MB / 442.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] 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.43196654797066]