Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001216/0.001216, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001685/0.001685, allocations: 168.4 kB / 24.81 MB, free: 8.922 MB / 18.57 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.126/1.126, allocations: 177.2 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.3373/0.3373, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.656e-05, allocations: 6.25 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01305/0.01309, allocations: 13.84 MB / 392.4 MB, free: 4.445 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.02313, allocations: 4.894 MB / 397.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.02472, allocations: 127.3 kB / 397.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005557/0.03027, allocations: 4.396 MB / 401.8 MB, free: 11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.03485, allocations: 2.472 MB / 404.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.03697, allocations: 1.181 MB / 405.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008317/0.04529, allocations: 8.238 MB / 413.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005548/0.05084, allocations: 4.955 MB / 418.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006289/0.05713, allocations: 4.632 MB / 423.3 MB, free: 5.418 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004401/0.06153, allocations: 3.363 MB / 426.6 MB, free: 2.047 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000877/0.0624, allocations: 499.9 kB / 427.1 MB, free: 1.559 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.06456, allocations: 1.311 MB / 428.4 MB, free: 252 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.06723, allocations: 2.938 MB / 431.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.06907, allocations: 1.858 MB / 433.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006517/0.07559, allocations: 6.24 MB / 439.5 MB, free: 5.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.0756, allocations: 3.938 kB / 439.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0756, allocations: 0 / 439.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.394e-05/0.07567, allocations: 0 / 439.5 MB, free: 5.172 MB / 410.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.2162/0.2919, allocations: 7.14 MB / 446.6 MB, free: 93.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.292, allocations: 8.656 kB / 446.6 MB, free: 93.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.3038, allocations: 2.98 MB / 449.6 MB, free: 93.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006207/0.31, allocations: 3.222 MB / 452.8 MB, free: 92.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.3103, allocations: 323.6 kB / 453.1 MB, free: 92.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.3114, allocations: 451.6 kB / 453.6 MB, free: 92.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.3224, allocations: 7.23 MB / 460.8 MB, free: 88.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002237/0.3226, allocations: 63.58 kB / 460.9 MB, free: 88.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003799/0.323, allocations: 210 kB / 461.1 MB, free: 88.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001721/0.3247, allocations: 2.15 MB / 463.2 MB, free: 87.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007704/0.3324, allocations: 3.147 MB / 466.4 MB, free: 87.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/0.382, allocations: 54.74 MB / 0.5089 GB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006902/0.3889, allocations: 2.02 MB / 0.5109 GB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.3899, allocations: 0.5587 MB / 0.5114 GB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007626/0.3976, allocations: 4.34 MB / 0.5156 GB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.3976, allocations: 61.77 kB / 0.5157 GB, free: 39.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.709e-06/0.3976, allocations: 0 / 0.5157 GB, free: 39.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.035/0.4326, allocations: 13.1 MB / 0.5285 GB, free: 28.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4327, allocations: 256.6 kB / 0.5287 GB, free: 28.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/0.4367, allocations: 4.589 MB / 0.5332 GB, free: 23.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.4369, allocations: 57.7 kB / 0.5333 GB, free: 23.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.4384, allocations: 4.487 MB / 0.5377 GB, free: 19.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006944/0.4391, allocations: 0.9111 MB / 0.5385 GB, free: 18.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.4403, allocations: 1.67 MB / 0.5402 GB, free: 16.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.4404, allocations: 484 kB / 0.5406 GB, free: 16.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.4415, allocations: 0.7839 MB / 0.5414 GB, free: 15.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/0.4445, allocations: 7.66 MB / 0.5489 GB, free: 4.691 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006183/0.4507, allocations: 9.07 MB / 0.5577 GB, free: 8.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/0.4508, allocations: 44 kB / 0.5578 GB, free: 8.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.009517/0.4604, allocations: 6.392 MB / 0.564 GB, free: 2.133 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.229e-05/0.4604, allocations: 76 kB / 0.5641 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/0.4606, allocations: 160 kB / 0.5642 GB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.4623, allocations: 0.6711 MB / 0.5649 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/0.4659, allocations: 1.692 MB / 0.5666 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004946/0.4709, allocations: 4.85 MB / 0.5713 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00534/0.4762, allocations: 339.6 kB / 0.5716 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/0.4772, allocations: 392 kB / 0.572 GB, free: 9.746 MB / 442.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.002345/0.4796, allocations: 0.7829 MB / 0.5728 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.4807, allocations: 0.4893 MB / 0.5732 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.4838, allocations: 1.737 MB / 0.5749 GB, free: 6.703 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/0.4838, allocations: 24 kB / 0.5749 GB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.4839, allocations: 4 kB / 0.575 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.4839, allocations: 7.969 kB / 0.575 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.4967, allocations: 7.273 MB / 0.5821 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.4968, allocations: 8 kB / 0.5821 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.4976, allocations: 311.7 kB / 0.5824 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.499, allocations: 458.6 kB / 0.5828 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.4992, allocations: 59.91 kB / 0.5829 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003926/0.5031, allocations: 4.467 MB / 0.5872 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.5031, allocations: 19.94 kB / 0.5872 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/0.5083, allocations: 3.157 MB / 0.5903 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/0.5099, allocations: 436.9 kB / 0.5907 GB, free: 5.859 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005099/0.5104, allocations: 51.98 kB / 0.5908 GB, free: 5.809 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009797/0.5114, allocations: 59.97 kB / 0.5908 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.5117, allocations: 156.8 kB / 0.591 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.732e-05/0.5118, allocations: 52 kB / 0.591 GB, free: 5.547 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002475/0.5142, allocations: 1.88 MB / 0.5929 GB, free: 3.672 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5142, allocations: 0 / 0.5929 GB, free: 3.672 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005658/0.5199, allocations: 1.457 MB / 0.5943 GB, free: 2.215 MB / 458.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.000569/0.5205, allocations: 206.1 kB / 0.5945 GB, free: 2.004 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005817/0.5263, allocations: 3.741 MB / 0.5982 GB, free: 14.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.5263, allocations: 4 kB / 0.5982 GB, free: 14.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.5276, allocations: 1.114 MB / 0.5992 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/0.5308, allocations: 0.5963 MB / 0.5998 GB, free: 12.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.5486, allocations: 10.49 MB / 0.6101 GB, free: 1.793 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/0.5513, allocations: 1.663 MB / 0.6117 GB, free: 112 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.1879/0.7392, allocations: 0.6244 MB / 0.6123 GB, free: 134.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/0.7407, allocations: 0.7731 MB / 0.6131 GB, free: 134.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.525e-06/0.7407, allocations: 0 / 0.6131 GB, free: 134.4 MB / 474.7 MB Notification: Performance of Templates: time 0.08926/0.8299, allocations: 48.15 MB / 0.6601 GB, free: 122.1 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.521848677191883]