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.001792/0.001792, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002003/0.002003, allocations: 165.3 kB / 24.5 MB, free: 3.453 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.481/1.481, allocations: 177.1 MB / 204.7 MB, free: 9.012 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.2323/0.2323, allocations: 34.26 MB / 295.4 MB, free: 14.53 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.002425/0.002425, allocations: 75.88 kB / 443.2 MB, free: 6.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3577, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01059/0.3683, allocations: 12.78 MB / 0.5097 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008906/0.3772, allocations: 4.799 MB / 0.5144 GB, free: 18.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.38, allocations: 120.1 kB / 0.5146 GB, free: 18.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007745/0.3878, allocations: 4.039 MB / 0.5185 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006495/0.3942, allocations: 2.397 MB / 0.5208 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.3965, allocations: 1.08 MB / 0.5219 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.4072, allocations: 7.158 MB / 0.5289 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005574/0.4127, allocations: 4.028 MB / 0.5328 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.4172, allocations: 2.277 MB / 0.535 GB, free: 9.363 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005426/0.4226, allocations: 3.081 MB / 0.538 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001466/0.4241, allocations: 0.4906 MB / 0.5385 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.4271, allocations: 1.257 MB / 0.5398 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002618/0.4298, allocations: 2.796 MB / 0.5425 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003139/0.4329, allocations: 2.335 MB / 0.5448 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.4461, allocations: 9.863 MB / 0.5544 GB, free: 10.96 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.4461, allocations: 0 / 0.5544 GB, free: 10.96 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4461, allocations: 0 / 0.5544 GB, free: 10.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003392/0.4464, allocations: 3.938 kB / 0.5544 GB, free: 10.95 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.0176/0.464, allocations: 6.965 MB / 0.5612 GB, free: 3.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4641, allocations: 12.03 kB / 0.5612 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02642/0.4905, allocations: 3.437 MB / 0.5646 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.5022, allocations: 4.361 MB / 0.5688 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.5026, allocations: 324.8 kB / 0.5691 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001645/0.5042, allocations: 451.7 kB / 0.5696 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02698/0.5312, allocations: 13.25 MB / 0.5825 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003966/0.5316, allocations: 67.48 kB / 0.5826 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001852/0.5334, allocations: 203.8 kB / 0.5828 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0052/0.5386, allocations: 2.535 MB / 0.5852 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02563/0.5643, allocations: 11.35 MB / 0.5963 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07686/0.6411, allocations: 48.53 MB / 0.6437 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/0.6559, allocations: 5.152 MB / 0.6488 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005065/0.6609, allocations: 3.232 MB / 0.6519 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/0.6616, allocations: 242.3 kB / 0.6521 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.29e-05/0.6617, allocations: 68.44 kB / 0.6522 GB, free: 4.438 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 6.723e-06/0.6617, allocations: 0 / 0.6522 GB, free: 4.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.4328/1.094, allocations: 37.16 MB / 0.6885 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.095, allocations: 270 kB / 0.6888 GB, free: 145.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00699/1.102, allocations: 4.765 MB / 0.6934 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008419/1.102, allocations: 76.08 kB / 0.6935 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002149/1.105, allocations: 4.063 MB / 0.6975 GB, free: 142.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.106, allocations: 1.231 MB / 0.6987 GB, free: 141.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/1.108, allocations: 1.601 MB / 0.7002 GB, free: 140.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.961e-05/1.108, allocations: 304.1 kB / 0.7005 GB, free: 140.3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004253/1.112, allocations: 3.622 MB / 0.704 GB, free: 139 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007539/1.12, allocations: 7.909 MB / 0.7118 GB, free: 132 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/1.136, allocations: 12.25 MB / 0.7237 GB, free: 123 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002558/1.136, allocations: 44.88 kB / 0.7238 GB, free: 123 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02747/1.164, allocations: 13.68 MB / 0.7371 GB, free: 118 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/1.164, allocations: 67.59 kB / 0.7372 GB, free: 118 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004713/1.164, allocations: 143.4 kB / 0.7373 GB, free: 118 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007365/1.172, allocations: 2.747 MB / 0.74 GB, free: 117.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005686/1.177, allocations: 1.784 MB / 0.7418 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/1.196, allocations: 17.39 MB / 0.7587 GB, free: 108.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006514/1.202, allocations: 470.1 kB / 0.7592 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.204, allocations: 451.9 kB / 0.7596 GB, free: 108.3 MB / 0.5763 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.004781/1.209, allocations: 2.74 MB / 0.7623 GB, free: 106.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.21, allocations: 460.9 kB / 0.7627 GB, free: 106.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/1.223, allocations: 7.962 MB / 0.7705 GB, free: 99 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/1.223, allocations: 39.91 kB / 0.7705 GB, free: 98.96 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.064e-05/1.223, allocations: 12 kB / 0.7706 GB, free: 98.95 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/1.223, allocations: 15.94 kB / 0.7706 GB, free: 98.94 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/1.247, allocations: 14.98 MB / 0.7852 GB, free: 83.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.247, allocations: 8 kB / 0.7852 GB, free: 83.91 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/1.249, allocations: 0.4989 MB / 0.7857 GB, free: 83.41 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005658/1.255, allocations: 2.484 MB / 0.7881 GB, free: 80.92 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004027/1.255, allocations: 63.98 kB / 0.7882 GB, free: 80.86 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/1.271, allocations: 15.52 MB / 0.8033 GB, free: 65.12 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.271, allocations: 15.97 kB / 0.8034 GB, free: 65.11 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/1.289, allocations: 12.54 MB / 0.8156 GB, free: 52.37 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.291, allocations: 420.8 kB / 0.816 GB, free: 51.96 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.292, allocations: 67.66 kB / 0.8161 GB, free: 51.89 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/1.295, allocations: 223.9 kB / 0.8163 GB, free: 51.68 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006099/1.296, allocations: 213.4 kB / 0.8165 GB, free: 51.46 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002842/1.296, allocations: 87.98 kB / 0.8166 GB, free: 51.38 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004305/1.3, allocations: 2.807 MB / 0.8193 GB, free: 48.57 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/1.3, allocations: 0 / 0.8193 GB, free: 48.57 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006952/1.307, allocations: 1.516 MB / 0.8208 GB, free: 47.05 MB / 0.5763 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.0006512/1.308, allocations: 219 kB / 0.821 GB, free: 46.84 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.32, allocations: 8.531 MB / 0.8293 GB, free: 38.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.32, allocations: 288 / 0.8293 GB, free: 38.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/1.325, allocations: 3.329 MB / 0.8326 GB, free: 34.94 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006013/1.331, allocations: 0.5906 MB / 0.8332 GB, free: 34.36 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/1.357, allocations: 14.78 MB / 0.8476 GB, free: 19.47 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005183/1.363, allocations: 3.778 MB / 0.8513 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004973/1.367, allocations: 2.39 MB / 0.8536 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.369, allocations: 324.4 kB / 0.8539 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of SimCode: time 1.122e-06/1.369, allocations: 0 / 0.8539 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of Templates: time 0.1133/1.482, allocations: 60.76 MB / 0.9133 GB, free: 0.6992 MB / 0.6231 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins1/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.608609037008137]