Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 80.34 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 167.1 kB / 25.61 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.001/1.001, allocations: 177 MB / 205.9 MB, free: 4.41 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1518/0.1518, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.558e-05, allocations: 6.25 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.0133/0.01333, allocations: 13.84 MB / 393.9 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.02454, allocations: 4.9 MB / 398.8 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/0.02862, allocations: 123.3 kB / 398.9 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006959/0.03558, allocations: 4.388 MB / 403.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008084/0.04366, allocations: 2.48 MB / 405.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.04626, allocations: 1.185 MB / 406.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01046/0.05672, allocations: 8.231 MB / 415.2 MB, free: 3.449 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008099/0.06482, allocations: 4.962 MB / 420.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009763/0.07458, allocations: 4.628 MB / 424.8 MB, free: 9.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005527/0.08011, allocations: 3.367 MB / 428.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.08155, allocations: 496 kB / 428.6 MB, free: 5.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.0843, allocations: 1.322 MB / 429.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003163/0.08746, allocations: 2.93 MB / 432.9 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003971/0.09144, allocations: 1.858 MB / 434.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008631/0.1001, allocations: 6.24 MB / 441 MB, free: 9.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1001, allocations: 0 / 441 MB, free: 9.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1001, allocations: 0 / 441 MB, free: 9.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002476/0.1003, allocations: 3.938 kB / 441 MB, free: 9.531 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.01216/0.1125, allocations: 7.143 MB / 448.1 MB, free: 2.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.1125, allocations: 12.03 kB / 448.1 MB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.1257, allocations: 2.968 MB / 451.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006169/0.1318, allocations: 3.235 MB / 454.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.1322, allocations: 320.8 kB / 454.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009866/0.1332, allocations: 452.1 kB / 455.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.1444, allocations: 7.223 MB / 462.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.1445, allocations: 67.45 kB / 462.4 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004948/0.145, allocations: 203.8 kB / 462.6 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002071/0.1471, allocations: 2.149 MB / 464.7 MB, free: 416 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007174/0.1543, allocations: 3.149 MB / 467.9 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.234/0.3883, allocations: 54.74 MB / 0.5104 GB, free: 66.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005009/0.3933, allocations: 2.019 MB / 0.5123 GB, free: 65.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.394, allocations: 0.5552 MB / 0.5129 GB, free: 65.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006648/0.4007, allocations: 4.347 MB / 0.5171 GB, free: 64.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.4007, allocations: 62.22 kB / 0.5172 GB, free: 64.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 7.784e-06/0.4008, allocations: 3.797 kB / 0.5172 GB, free: 64.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.03317/0.4339, allocations: 13.07 MB / 0.5299 GB, free: 59.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.434, allocations: 252.6 kB / 0.5302 GB, free: 59.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00482/0.4388, allocations: 4.605 MB / 0.5347 GB, free: 55.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003379/0.4391, allocations: 53.7 kB / 0.5347 GB, free: 55.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/0.4411, allocations: 4.489 MB / 0.5391 GB, free: 51.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009896/0.4421, allocations: 0.9111 MB / 0.54 GB, free: 50.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/0.4439, allocations: 1.67 MB / 0.5416 GB, free: 49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.4439, allocations: 484.7 kB / 0.5421 GB, free: 48.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.4455, allocations: 0.78 MB / 0.5429 GB, free: 47.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0038/0.4493, allocations: 7.666 MB / 0.5504 GB, free: 37.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006877/0.4562, allocations: 9.075 MB / 0.5592 GB, free: 25.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001977/0.4564, allocations: 44 kB / 0.5593 GB, free: 25.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.01181/0.4682, allocations: 6.382 MB / 0.5655 GB, free: 18.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.062e-05/0.4683, allocations: 76 kB / 0.5656 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/0.4685, allocations: 160.9 kB / 0.5657 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/0.4708, allocations: 0.6779 MB / 0.5664 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/0.4751, allocations: 1.692 MB / 0.568 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004413/0.4795, allocations: 4.829 MB / 0.5727 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005626/0.4851, allocations: 335.6 kB / 0.5731 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009152/0.486, allocations: 396 kB / 0.5734 GB, free: 10.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (950): * Single equations (assignments): 945 * 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,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002458/0.4885, allocations: 0.7792 MB / 0.5742 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009477/0.4894, allocations: 0.4893 MB / 0.5747 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006165/0.4956, allocations: 1.729 MB / 0.5764 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.4956, allocations: 25.31 kB / 0.5764 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.4956, allocations: 4 kB / 0.5764 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.4956, allocations: 11.97 kB / 0.5764 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/0.5244, allocations: 7.284 MB / 0.5835 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/0.5244, allocations: 12.22 kB / 0.5835 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.5255, allocations: 307.5 kB / 0.5838 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004845/0.5304, allocations: 462.5 kB / 0.5843 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.5305, allocations: 50.19 kB / 0.5843 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007672/0.5382, allocations: 4.482 MB / 0.5887 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/0.5382, allocations: 14.88 kB / 0.5887 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/0.5497, allocations: 3.148 MB / 0.5918 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003979/0.5537, allocations: 440.9 kB / 0.5922 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007518/0.5544, allocations: 47.98 kB / 0.5922 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.5559, allocations: 51.98 kB / 0.5923 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/0.5563, allocations: 164.8 kB / 0.5925 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.5564, allocations: 51.98 kB / 0.5925 GB, free: 6.379 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003889/0.5603, allocations: 1.876 MB / 0.5943 GB, free: 4.508 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5603, allocations: 3.828 kB / 0.5943 GB, free: 4.508 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006916/0.5672, allocations: 1.457 MB / 0.5958 GB, free: 3.051 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (176): * Single equations (assignments): 171 * 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,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000669/0.5679, allocations: 199.4 kB / 0.596 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007223/0.5751, allocations: 3.752 MB / 0.5996 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.5751, allocations: 4 kB / 0.5996 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001882/0.577, allocations: 1.11 MB / 0.6007 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/0.5811, allocations: 0.5952 MB / 0.6013 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.5992, allocations: 10.51 MB / 0.6115 GB, free: 2.645 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/0.6022, allocations: 1.663 MB / 0.6132 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002531/0.6048, allocations: 0.6298 MB / 0.6138 GB, free: 336 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/0.6061, allocations: 0.7753 MB / 0.6145 GB, free: 15.55 MB / 458.7 MB Notification: Performance of SimCode: time 2.745e-06/0.6061, allocations: 0 / 0.6145 GB, free: 15.55 MB / 458.7 MB Notification: Performance of Templates: time 0.2383/0.8444, allocations: 49.21 MB / 0.6626 GB, free: 169.9 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","",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.3163846442475915]