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.001661/0.001661, allocations: 119.3 kB / 18.46 MB, free: 4.613 MB / 14.72 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.00208/0.00208, allocations: 205.8 kB / 21.4 MB, free: 1.668 MB / 14.72 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.564/1.564, allocations: 227.4 MB / 251.6 MB, free: 56 kB / 190.1 MB " [Timeout remaining time 178] 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.2286/0.2286, allocations: 46.16 MB / 351.1 MB, free: 14.27 MB / 286.1 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 82.62 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1373, allocations: 62.45 MB / 0.5397 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01796/0.1553, allocations: 14.67 MB / 0.554 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.1676, allocations: 5.004 MB / 0.5589 GB, free: 476 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003861/0.1715, allocations: 103.6 kB / 0.559 GB, free: 372 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008512/0.18, allocations: 4.135 MB / 0.563 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006876/0.187, allocations: 2.317 MB / 0.5653 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.1897, allocations: 1.076 MB / 0.5664 GB, free: 8.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.201, allocations: 7.144 MB / 0.5733 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007611/0.2086, allocations: 5.131 MB / 0.5783 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005179/0.2138, allocations: 2.223 MB / 0.5805 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005862/0.2197, allocations: 3.049 MB / 0.5835 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002004/0.2218, allocations: 500 kB / 0.584 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004371/0.2262, allocations: 1.362 MB / 0.5853 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004087/0.2303, allocations: 2.739 MB / 0.588 GB, free: 2.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005794/0.2361, allocations: 3.127 MB / 0.591 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.2506, allocations: 9.806 MB / 0.6006 GB, free: 5.582 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2506, allocations: 4 kB / 0.6006 GB, free: 5.578 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.2507, allocations: 0 / 0.6006 GB, free: 5.578 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003675/0.251, allocations: 3.938 kB / 0.6006 GB, free: 5.574 MB / 462.1 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.3051/0.5561, allocations: 7.028 MB / 0.6075 GB, free: 54.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.5562, allocations: 9.312 kB / 0.6075 GB, free: 54.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03328/0.5895, allocations: 3.351 MB / 0.6108 GB, free: 54.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0178/0.6074, allocations: 4.437 MB / 0.6151 GB, free: 52.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008032/0.6082, allocations: 328.4 kB / 0.6154 GB, free: 52.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003301/0.6115, allocations: 451 kB / 0.6158 GB, free: 52.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03429/0.6459, allocations: 13.09 MB / 0.6286 GB, free: 45.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002589/0.6462, allocations: 67.27 kB / 0.6287 GB, free: 45.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008359/0.647, allocations: 204.7 kB / 0.6289 GB, free: 45.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003895/0.6509, allocations: 2.529 MB / 0.6313 GB, free: 44.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/0.6713, allocations: 11.39 MB / 0.6425 GB, free: 34.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06556/0.7369, allocations: 52.84 MB / 0.6941 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0148/0.7518, allocations: 5.659 MB / 0.6996 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005103/0.7569, allocations: 3.506 MB / 0.703 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008752/0.7578, allocations: 0.6915 MB / 0.7037 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.241e-05/0.7579, allocations: 60.56 kB / 0.7037 GB, free: 2.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 5.31e-06/0.7579, allocations: 1.969 kB / 0.7038 GB, free: 2.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.1166/0.8746, allocations: 36.79 MB / 0.7397 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002089/0.8748, allocations: 265.3 kB / 0.7399 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008741/0.8836, allocations: 5.185 MB / 0.745 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009385/0.8846, allocations: 73.7 kB / 0.7451 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003645/0.8882, allocations: 4.015 MB / 0.749 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00207/0.8903, allocations: 1.232 MB / 0.7502 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002498/0.8928, allocations: 1.607 MB / 0.7518 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8929, allocations: 301.1 kB / 0.752 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005446/0.8984, allocations: 3.623 MB / 0.7556 GB, free: 13.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009288/0.9077, allocations: 7.807 MB / 0.7632 GB, free: 3.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/0.9253, allocations: 12.24 MB / 0.7752 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/0.9255, allocations: 43.94 kB / 0.7752 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02715/0.9526, allocations: 13.75 MB / 0.7886 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.813e-05/0.9528, allocations: 69.56 kB / 0.7887 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/0.9529, allocations: 144 kB / 0.7888 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0072/0.9602, allocations: 2.756 MB / 0.7915 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006238/0.9664, allocations: 1.782 MB / 0.7933 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/0.9904, allocations: 17.83 MB / 0.8107 GB, free: 420 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/0.9968, allocations: 471.5 kB / 0.8111 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0021/0.9989, allocations: 456.6 kB / 0.8116 GB, free: 15.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * 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 (948): * Single equations (assignments): 943 * 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%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008024/1.007, allocations: 2.74 MB / 0.8142 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/1.009, allocations: 0.4966 MB / 0.8147 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/1.029, allocations: 8.04 MB / 0.8226 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.289e-05/1.029, allocations: 32 kB / 0.8226 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/1.029, allocations: 12 kB / 0.8226 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.723e-05/1.029, allocations: 11.95 kB / 0.8226 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03427/1.063, allocations: 16.85 MB / 0.8391 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/1.063, allocations: 4.281 kB / 0.8391 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002761/1.066, allocations: 0.4915 MB / 0.8396 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007185/1.073, allocations: 2.495 MB / 0.842 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2818/1.355, allocations: 66 kB / 0.8421 GB, free: 206 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/1.377, allocations: 15.96 MB / 0.8577 GB, free: 199.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.377, allocations: 11.52 kB / 0.8577 GB, free: 199.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/1.398, allocations: 12.63 MB / 0.87 GB, free: 195 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.4, allocations: 0.5569 MB / 0.8705 GB, free: 194.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.401, allocations: 58.58 kB / 0.8706 GB, free: 194.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002907/1.404, allocations: 228 kB / 0.8708 GB, free: 194.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007991/1.405, allocations: 201.1 kB / 0.871 GB, free: 194.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002374/1.405, allocations: 85.97 kB / 0.8711 GB, free: 194.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004548/1.41, allocations: 3.268 MB / 0.8743 GB, free: 193.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/1.41, allocations: 5.844 kB / 0.8743 GB, free: 193.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006904/1.417, allocations: 1.523 MB / 0.8758 GB, free: 193.5 MB / 0.6231 GB 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 (253): * Single equations (assignments): 248 * 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.0005798/1.417, allocations: 203 kB / 0.876 GB, free: 193.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.429, allocations: 8.916 MB / 0.8847 GB, free: 189.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/1.429, allocations: 3.938 kB / 0.8847 GB, free: 189.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004585/1.434, allocations: 3.567 MB / 0.8882 GB, free: 188.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004266/1.438, allocations: 0.6737 MB / 0.8888 GB, free: 188.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/1.462, allocations: 14.74 MB / 0.9032 GB, free: 175.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004744/1.467, allocations: 4.28 MB / 0.9074 GB, free: 171.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005319/1.472, allocations: 2.456 MB / 0.9098 GB, free: 168.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/1.473, allocations: 343.4 kB / 0.9101 GB, free: 168.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.102e-06/1.473, allocations: 4 kB / 0.9101 GB, free: 168.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.09902/1.572, allocations: 65.07 MB / 0.9737 GB, free: 103.5 MB / 0.6231 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.372019450180233]