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.0008639/0.0008639, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.004087/0.004087, allocations: 160.1 kB / 24.7 MB, free: 9.418 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 0.8742/0.8742, allocations: 177 MB / 204.9 MB, free: 5.715 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.2444/0.2444, allocations: 34.24 MB / 295.6 MB, free: 0.6758 MB / 266.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.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 1.072e-06/1.072e-06, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/1.999e-05, allocations: 4.531 kB / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.1977/0.1977, allocations: 12.77 MB / 456.2 MB, free: 36.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006668/0.2044, allocations: 4.815 MB / 461 MB, free: 33.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.2057, allocations: 123 kB / 461.1 MB, free: 33.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.2088, allocations: 4.242 MB / 465.4 MB, free: 31.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.2117, allocations: 2.466 MB / 467.8 MB, free: 30.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.213, allocations: 1.171 MB / 469 MB, free: 30.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004647/0.2176, allocations: 8.239 MB / 477.3 MB, free: 27.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/0.2211, allocations: 4.81 MB / 482.1 MB, free: 24.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.2245, allocations: 3.517 MB / 485.6 MB, free: 23.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004858/0.2294, allocations: 3.425 MB / 489 MB, free: 22.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.2304, allocations: 0.4996 MB / 489.5 MB, free: 22.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.2328, allocations: 1.325 MB / 490.8 MB, free: 22.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002371/0.2352, allocations: 2.939 MB / 493.8 MB, free: 21.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.2377, allocations: 1.87 MB / 495.6 MB, free: 20.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.2486, allocations: 9.949 MB / 0.4937 GB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2486, allocations: 1.219 kB / 0.4937 GB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2486, allocations: 0 / 0.4937 GB, free: 14.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003221/0.249, allocations: 0 / 0.4937 GB, free: 14.94 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.01265/0.2616, allocations: 7.06 MB / 0.5006 GB, free: 10.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2617, allocations: 10.72 kB / 0.5006 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.2741, allocations: 3.443 MB / 0.504 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007093/0.2812, allocations: 4.317 MB / 0.5082 GB, free: 3.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.2813, allocations: 324.8 kB / 0.5085 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007041/0.282, allocations: 452 kB / 0.509 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/0.2971, allocations: 13.24 MB / 0.5219 GB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.2972, allocations: 67.47 kB / 0.522 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003939/0.2976, allocations: 203.8 kB / 0.5222 GB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002495/0.3001, allocations: 2.53 MB / 0.5246 GB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.3146, allocations: 11.35 MB / 0.5357 GB, free: 6.223 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04492/0.3596, allocations: 48.79 MB / 0.5834 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007901/0.3675, allocations: 5.14 MB / 0.5884 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003008/0.3705, allocations: 3.238 MB / 0.5915 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/0.3708, allocations: 242.5 kB / 0.5918 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.3708, allocations: 68.5 kB / 0.5918 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 4.438e-06/0.3709, allocations: 0 / 0.5918 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.06073/0.4316, allocations: 37.38 MB / 0.6283 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4317, allocations: 269.3 kB / 0.6286 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005952/0.4377, allocations: 5.019 MB / 0.6335 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004722/0.4381, allocations: 73.7 kB / 0.6336 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.2076/0.6458, allocations: 4.018 MB / 0.6375 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/0.6473, allocations: 1.21 MB / 0.6387 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/0.649, allocations: 1.583 MB / 0.6402 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.649, allocations: 304.9 kB / 0.6405 GB, free: 149 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00331/0.6523, allocations: 3.626 MB / 0.6441 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00397/0.6563, allocations: 7.905 MB / 0.6518 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007621/0.6639, allocations: 12.25 MB / 0.6637 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.112e-05/0.664, allocations: 39.94 kB / 0.6638 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.01452/0.6785, allocations: 13.68 MB / 0.6771 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.943e-05/0.6786, allocations: 66.56 kB / 0.6772 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/0.6787, allocations: 144.7 kB / 0.6773 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004039/0.6827, allocations: 2.755 MB / 0.68 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003602/0.6863, allocations: 1.779 MB / 0.6818 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/0.7018, allocations: 17.45 MB / 0.6988 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004734/0.7065, allocations: 0.5525 MB / 0.6993 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004849/0.707, allocations: 457.8 kB / 0.6998 GB, free: 117 MB / 0.5261 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.003997/0.711, allocations: 2.738 MB / 0.7025 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005774/0.7116, allocations: 461.5 kB / 0.7029 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008081/0.7197, allocations: 7.971 MB / 0.7107 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.7197, allocations: 35.61 kB / 0.7107 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.7197, allocations: 12 kB / 0.7107 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.7197, allocations: 10.92 kB / 0.7107 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.7355, allocations: 15.11 MB / 0.7255 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.7355, allocations: 8.75 kB / 0.7255 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.7367, allocations: 0.4955 MB / 0.726 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/0.7399, allocations: 2.482 MB / 0.7284 GB, free: 93.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.7401, allocations: 60 kB / 0.7285 GB, free: 93.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.7512, allocations: 15.64 MB / 0.7437 GB, free: 78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7512, allocations: 13.09 kB / 0.7438 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.7622, allocations: 12.52 MB / 0.756 GB, free: 65.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.7633, allocations: 488.7 kB / 0.7564 GB, free: 64.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004039/0.7637, allocations: 67.81 kB / 0.7565 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.7651, allocations: 297.5 kB / 0.7568 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/0.7655, allocations: 216.7 kB / 0.757 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.7656, allocations: 87.98 kB / 0.7571 GB, free: 64.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003025/0.7686, allocations: 3.003 MB / 0.76 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/0.7686, allocations: 6.625 kB / 0.76 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005186/0.7738, allocations: 1.711 MB / 0.7617 GB, free: 59.42 MB / 0.5261 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.0005094/0.7743, allocations: 213.7 kB / 0.7619 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007983/0.7823, allocations: 8.544 MB / 0.7702 GB, free: 50.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7823, allocations: 4 kB / 0.7702 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002675/0.785, allocations: 3.328 MB / 0.7735 GB, free: 47.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.7871, allocations: 0.5817 MB / 0.7741 GB, free: 46.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.8034, allocations: 15.07 MB / 0.7888 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/0.8061, allocations: 3.762 MB / 0.7925 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/0.8073, allocations: 388.4 kB / 0.7928 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.223e-06/0.8073, allocations: 0 / 0.7928 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.3014/1.109, allocations: 136.7 MB / 0.9264 GB, free: 119.2 MB / 0.5573 GB " [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=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.1.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: 10.95919447299093]