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.001783/0.001783, allocations: 83.16 kB / 20.68 MB, free: 1.035 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.001449/0.001449, allocations: 158 kB / 23.95 MB, free: 4.168 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.47/1.47, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 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.2116/0.2116, allocations: 34.25 MB / 294.8 MB, free: 14.54 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 2.014e-06/2.014e-06, allocations: 0 / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.081e-05, allocations: 2.281 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.2478/0.2478, allocations: 12.77 MB / 455.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.2597, allocations: 4.82 MB / 460.3 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/0.2626, allocations: 127.3 kB / 460.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008103/0.2707, allocations: 4.249 MB / 464.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007181/0.2779, allocations: 2.459 MB / 467.1 MB, free: 6.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.2804, allocations: 1.174 MB / 468.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.2907, allocations: 8.225 MB / 476.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006159/0.2969, allocations: 4.801 MB / 481.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006742/0.3036, allocations: 3.513 MB / 484.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006675/0.3103, allocations: 3.429 MB / 488.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001384/0.3117, allocations: 0.5 MB / 488.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.3148, allocations: 1.334 MB / 490.1 MB, free: 6.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003124/0.3179, allocations: 2.934 MB / 493 MB, free: 3.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003093/0.321, allocations: 1.869 MB / 494.9 MB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.335, allocations: 9.942 MB / 0.493 GB, free: 7.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.335, allocations: 0 / 0.493 GB, free: 7.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.335, allocations: 0 / 0.493 GB, free: 7.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003489/0.3354, allocations: 0 / 0.493 GB, free: 7.719 MB / 398.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.02026/0.3556, allocations: 7.07 MB / 0.4999 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.3557, allocations: 8.031 kB / 0.4999 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03016/0.3859, allocations: 3.449 MB / 0.5033 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.3969, allocations: 4.313 MB / 0.5075 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.3972, allocations: 324.7 kB / 0.5078 GB, free: 8.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.3985, allocations: 452 kB / 0.5082 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02691/0.4254, allocations: 13.25 MB / 0.5212 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002596/0.4257, allocations: 67.52 kB / 0.5212 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006866/0.4264, allocations: 207.8 kB / 0.5214 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005349/0.4317, allocations: 2.527 MB / 0.5239 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02527/0.457, allocations: 11.35 MB / 0.535 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0734/0.5304, allocations: 48.79 MB / 0.5826 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/0.5459, allocations: 5.154 MB / 0.5876 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00569/0.5516, allocations: 3.242 MB / 0.5908 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/0.5523, allocations: 242.4 kB / 0.591 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.29e-05/0.5524, allocations: 68.5 kB / 0.5911 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 7.724e-06/0.5524, allocations: 0 / 0.5911 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.1207/0.6731, allocations: 37.37 MB / 0.6276 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.6733, allocations: 265.3 kB / 0.6278 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009128/0.6824, allocations: 5.019 MB / 0.6328 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000787/0.6832, allocations: 77.7 kB / 0.6328 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003534/0.6868, allocations: 4.007 MB / 0.6367 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/0.6887, allocations: 1.209 MB / 0.6379 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2414/0.9301, allocations: 1.587 MB / 0.6395 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.9301, allocations: 305.9 kB / 0.6398 GB, free: 166 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006088/0.9362, allocations: 3.63 MB / 0.6433 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008435/0.9447, allocations: 7.905 MB / 0.651 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01689/0.9616, allocations: 12.25 MB / 0.663 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002664/0.9618, allocations: 45.34 kB / 0.663 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02806/0.9899, allocations: 13.68 MB / 0.6764 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.99, allocations: 64.31 kB / 0.6765 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/0.9902, allocations: 143.4 kB / 0.6766 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006557/0.9967, allocations: 2.756 MB / 0.6793 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005974/1.003, allocations: 1.782 MB / 0.681 GB, free: 144 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/1.021, allocations: 17.44 MB / 0.6981 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007318/1.028, allocations: 0.5493 MB / 0.6986 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/1.03, allocations: 459.3 kB / 0.699 GB, free: 128.9 MB / 0.5294 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.004739/1.034, allocations: 2.746 MB / 0.7017 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.036, allocations: 453.7 kB / 0.7021 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/1.048, allocations: 7.966 MB / 0.7099 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.262e-05/1.048, allocations: 37.08 kB / 0.71 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/1.048, allocations: 12 kB / 0.71 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/1.048, allocations: 15.89 kB / 0.71 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02637/1.075, allocations: 15.12 MB / 0.7248 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/1.075, allocations: 11.77 kB / 0.7248 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/1.077, allocations: 0.5024 MB / 0.7253 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006168/1.083, allocations: 2.48 MB / 0.7277 GB, free: 99.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004904/1.084, allocations: 56 kB / 0.7277 GB, free: 99.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/1.101, allocations: 15.64 MB / 0.743 GB, free: 84.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.101, allocations: 11.94 kB / 0.743 GB, free: 84.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/1.12, allocations: 12.52 MB / 0.7552 GB, free: 71.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.122, allocations: 490.2 kB / 0.7557 GB, free: 71.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00173/1.124, allocations: 64 kB / 0.7558 GB, free: 71.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003954/1.128, allocations: 300.4 kB / 0.7561 GB, free: 70.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008134/1.129, allocations: 213.5 kB / 0.7563 GB, free: 70.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003685/1.129, allocations: 87.59 kB / 0.7563 GB, free: 70.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005338/1.134, allocations: 2.999 MB / 0.7593 GB, free: 67.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.134, allocations: 0 / 0.7593 GB, free: 67.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009203/1.144, allocations: 1.725 MB / 0.761 GB, free: 65.81 MB / 0.5294 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.0009917/1.145, allocations: 211.3 kB / 0.7612 GB, free: 65.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01329/1.158, allocations: 8.538 MB / 0.7695 GB, free: 57.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.158, allocations: 4 kB / 0.7695 GB, free: 57.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005117/1.163, allocations: 3.322 MB / 0.7727 GB, free: 53.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005779/1.169, allocations: 0.596 MB / 0.7733 GB, free: 53.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/1.193, allocations: 14.53 MB / 0.7875 GB, free: 38.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005894/1.199, allocations: 3.775 MB / 0.7912 GB, free: 34.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005913/1.205, allocations: 2.407 MB / 0.7935 GB, free: 32.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.207, allocations: 332.4 kB / 0.7939 GB, free: 31.99 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/1.207, allocations: 0 / 0.7939 GB, free: 31.99 MB / 0.5294 GB Notification: Performance of Templates: time 0.3301/1.537, allocations: 63.31 MB / 0.8557 GB, free: 180.5 MB / 0.5606 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.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: 8.354448661208153]