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.001072/0.001072, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.001381/0.001381, allocations: 174.3 kB / 23.97 MB, free: 0.5977 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 0.8868/0.8868, allocations: 158.6 MB / 185.7 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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.1384/0.1384, allocations: 32.37 MB / 270.4 MB, free: 14.95 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 1.854e-06/1.854e-06, allocations: 0 / 408.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.71e-05, allocations: 2.281 kB / 408.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01118/0.01122, allocations: 13.24 MB / 421.4 MB, free: 4.406 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009024/0.02025, allocations: 4.887 MB / 426.3 MB, free: 15.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.02356, allocations: 131.3 kB / 426.4 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005369/0.02893, allocations: 4.286 MB / 430.7 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00599/0.03492, allocations: 2.585 MB / 433.3 MB, free: 8.477 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.03724, allocations: 1.189 MB / 434.4 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008003/0.04524, allocations: 7.838 MB / 442.3 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005262/0.05051, allocations: 4.898 MB / 447.2 MB, free: 10.46 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005878/0.05638, allocations: 3.649 MB / 450.8 MB, free: 6.801 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004355/0.06074, allocations: 3.534 MB / 454.4 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.06197, allocations: 0.5234 MB / 454.9 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.06448, allocations: 1.358 MB / 456.2 MB, free: 1.375 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002414/0.06689, allocations: 3.047 MB / 459.3 MB, free: 14.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002552/0.06944, allocations: 1.947 MB / 461.2 MB, free: 12.37 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009773/0.07922, allocations: 10.37 MB / 471.6 MB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.07922, allocations: 3.938 kB / 471.6 MB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.07922, allocations: 0 / 471.6 MB, free: 1.961 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000316/0.07954, allocations: 0 / 471.6 MB, free: 1.961 MB / 442.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.186/0.2656, allocations: 7.246 MB / 478.8 MB, free: 95.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2656, allocations: 13.05 kB / 478.9 MB, free: 95.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.278, allocations: 3.488 MB / 482.4 MB, free: 95.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007733/0.2857, allocations: 4.481 MB / 486.8 MB, free: 93.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.286, allocations: 339.2 kB / 487.2 MB, free: 93.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/0.2874, allocations: 461.1 kB / 487.6 MB, free: 93.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.3063, allocations: 13.74 MB / 0.4896 GB, free: 86.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000323/0.3066, allocations: 69.95 kB / 0.4897 GB, free: 86.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009999/0.3076, allocations: 211.4 kB / 0.4899 GB, free: 86.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003224/0.3108, allocations: 2.661 MB / 0.4925 GB, free: 86.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.3308, allocations: 11.79 MB / 0.504 GB, free: 81.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04545/0.3763, allocations: 49.96 MB / 0.5528 GB, free: 30.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00826/0.3845, allocations: 5.261 MB / 0.5579 GB, free: 25.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.3873, allocations: 3.283 MB / 0.5611 GB, free: 22.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003355/0.3876, allocations: 245.6 kB / 0.5613 GB, free: 22.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3877, allocations: 64.5 kB / 0.5614 GB, free: 21.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=254): time 5.721e-06/0.3877, allocations: 0 / 0.5614 GB, free: 21.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=324): time 0.06449/0.4522, allocations: 38.31 MB / 0.5988 GB, free: 15.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.4523, allocations: 265.4 kB / 0.5991 GB, free: 15.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006953/0.4593, allocations: 5.216 MB / 0.6042 GB, free: 10.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009136/0.4602, allocations: 69.7 kB / 0.6042 GB, free: 10.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002248/0.4624, allocations: 4.148 MB / 0.6083 GB, free: 5.828 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002254/0.4647, allocations: 1.24 MB / 0.6095 GB, free: 4.578 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002548/0.4672, allocations: 1.628 MB / 0.6111 GB, free: 2.938 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4673, allocations: 301.1 kB / 0.6114 GB, free: 2.641 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004467/0.4718, allocations: 3.693 MB / 0.615 GB, free: 14.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007386/0.4792, allocations: 8.076 MB / 0.6229 GB, free: 4.734 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/0.4927, allocations: 12.5 MB / 0.6351 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/0.4928, allocations: 44 kB / 0.6351 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.0234/0.5162, allocations: 13.91 MB / 0.6487 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.5163, allocations: 68 kB / 0.6488 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002124/0.5165, allocations: 148.1 kB / 0.6489 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/0.5211, allocations: 2.76 MB / 0.6516 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/0.5259, allocations: 1.836 MB / 0.6534 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2428/0.7687, allocations: 17.43 MB / 0.6704 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006603/0.7753, allocations: 0.5712 MB / 0.671 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001746/0.7771, allocations: 463.1 kB / 0.6714 GB, free: 145 MB / 0.5105 GB 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.005341/0.7824, allocations: 2.833 MB / 0.6742 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/0.7836, allocations: 467.3 kB / 0.6746 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008765/0.7923, allocations: 8.089 MB / 0.6825 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/0.7924, allocations: 40.5 kB / 0.6826 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/0.7924, allocations: 16.12 kB / 0.6826 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.147e-05/0.7924, allocations: 17.25 kB / 0.6826 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/0.8168, allocations: 15.38 MB / 0.6976 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/0.8168, allocations: 12.59 kB / 0.6976 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/0.8187, allocations: 0.5092 MB / 0.6981 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004944/0.8236, allocations: 2.49 MB / 0.7006 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006889/0.8243, allocations: 62.33 kB / 0.7006 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/0.8371, allocations: 15.62 MB / 0.7159 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.8371, allocations: 12.48 kB / 0.7159 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.8517, allocations: 12.7 MB / 0.7283 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003103/0.8548, allocations: 1.067 MB / 0.7293 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/0.8561, allocations: 63.67 kB / 0.7294 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/0.8585, allocations: 321.9 kB / 0.7297 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005346/0.859, allocations: 221.3 kB / 0.7299 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.8592, allocations: 93.86 kB / 0.73 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003738/0.8629, allocations: 3.122 MB / 0.733 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8629, allocations: 0 / 0.733 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006919/0.8698, allocations: 1.768 MB / 0.7348 GB, free: 112.4 MB / 0.5105 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 (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.001021/0.8709, allocations: 237.4 kB / 0.735 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01064/0.8815, allocations: 8.767 MB / 0.7436 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.8815, allocations: 4 kB / 0.7436 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003854/0.8854, allocations: 3.327 MB / 0.7468 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/0.8893, allocations: 0.6004 MB / 0.7474 GB, free: 99.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.9111, allocations: 15.53 MB / 0.7626 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003849/0.915, allocations: 3.876 MB / 0.7663 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/0.9169, allocations: 400.4 kB / 0.7667 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of SimCode: time 2.725e-06/0.9169, allocations: 0 / 0.7667 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.3462/1.263, allocations: 141.2 MB / 0.9046 GB, free: 143.7 MB / 0.5261 GB " [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=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: 12.182596233673394]