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.002069/0.002069, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001509/0.001509, allocations: 215.3 kB / 23 MB, free: 5.609 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.497/1.497, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.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.2462/0.2462, allocations: 46.92 MB / 359.4 MB, free: 4.863 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.002988/0.002988, allocations: 79.86 kB / 0.4947 GB, free: 8.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3943, allocations: 65.99 MB / 0.5591 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01729/0.4116, allocations: 14.76 MB / 0.5735 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.4232, allocations: 5.042 MB / 0.5784 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.4264, allocations: 99.69 kB / 0.5785 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008664/0.435, allocations: 4.209 MB / 0.5826 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008602/0.4436, allocations: 2.381 MB / 0.585 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.4468, allocations: 1.08 MB / 0.586 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.4589, allocations: 7.152 MB / 0.593 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007709/0.4666, allocations: 3.74 MB / 0.5967 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005617/0.4723, allocations: 2.247 MB / 0.5989 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006383/0.4786, allocations: 3.283 MB / 0.6021 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.4807, allocations: 496 kB / 0.6025 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00398/0.4847, allocations: 1.401 MB / 0.6039 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004695/0.4894, allocations: 2.793 MB / 0.6066 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006828/0.4962, allocations: 3.131 MB / 0.6097 GB, free: 1.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.5103, allocations: 9.81 MB / 0.6193 GB, free: 7.184 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.5103, allocations: 0 / 0.6193 GB, free: 7.184 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5103, allocations: 0 / 0.6193 GB, free: 7.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003235/0.5107, allocations: 0 / 0.6193 GB, free: 7.184 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.01928/0.5299, allocations: 7.043 MB / 0.6261 GB, free: 56 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.53, allocations: 8.031 kB / 0.6261 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02573/0.5557, allocations: 3.35 MB / 0.6294 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.5686, allocations: 4.425 MB / 0.6337 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/0.5689, allocations: 329.9 kB / 0.6341 GB, free: 7.883 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001822/0.5708, allocations: 443.7 kB / 0.6345 GB, free: 7.449 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/0.5978, allocations: 13.1 MB / 0.6473 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/0.598, allocations: 67.52 kB / 0.6473 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007414/0.5988, allocations: 207.8 kB / 0.6475 GB, free: 9.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004615/0.6034, allocations: 2.535 MB / 0.65 GB, free: 6.672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02508/0.6284, allocations: 11.38 MB / 0.6611 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08735/0.7158, allocations: 52.84 MB / 0.7127 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.7297, allocations: 5.456 MB / 0.7181 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004797/0.7345, allocations: 3.218 MB / 0.7212 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009201/0.7355, allocations: 0.6839 MB / 0.7219 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.097e-05/0.7355, allocations: 60.56 kB / 0.7219 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 5.851e-06/0.7355, allocations: 0 / 0.7219 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=315): time 0.4065/1.142, allocations: 36.76 MB / 0.7578 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/1.142, allocations: 274.2 kB / 0.7581 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/1.148, allocations: 5.178 MB / 0.7631 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005779/1.148, allocations: 72 kB / 0.7632 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.15, allocations: 4.025 MB / 0.7671 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.151, allocations: 1.226 MB / 0.7683 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00183/1.153, allocations: 1.603 MB / 0.7699 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/1.153, allocations: 305.1 kB / 0.7702 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003894/1.157, allocations: 3.627 MB / 0.7737 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005222/1.162, allocations: 7.811 MB / 0.7814 GB, free: 119 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.173, allocations: 12.24 MB / 0.7933 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-05/1.173, allocations: 40 kB / 0.7934 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02055/1.194, allocations: 13.72 MB / 0.8068 GB, free: 90.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/1.194, allocations: 71.98 kB / 0.8068 GB, free: 90.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/1.194, allocations: 151.9 kB / 0.807 GB, free: 90.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005906/1.2, allocations: 2.746 MB / 0.8096 GB, free: 87.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005354/1.205, allocations: 1.778 MB / 0.8114 GB, free: 86.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/1.223, allocations: 17.83 MB / 0.8288 GB, free: 68.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005935/1.228, allocations: 475.4 kB / 0.8292 GB, free: 67.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009851/1.229, allocations: 451.9 kB / 0.8297 GB, free: 67.14 MB / 0.5606 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.003653/1.233, allocations: 2.74 MB / 0.8324 GB, free: 64.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008796/1.234, allocations: 0.4967 MB / 0.8328 GB, free: 63.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.246, allocations: 8.008 MB / 0.8407 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.074e-05/1.246, allocations: 32 kB / 0.8407 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/1.246, allocations: 12 kB / 0.8407 GB, free: 55.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.944e-05/1.246, allocations: 15.94 kB / 0.8407 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/1.27, allocations: 16.82 MB / 0.8571 GB, free: 38.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/1.27, allocations: 4 kB / 0.8571 GB, free: 38.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.272, allocations: 0.4922 MB / 0.8576 GB, free: 38.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005416/1.278, allocations: 2.491 MB / 0.8601 GB, free: 35.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004104/1.278, allocations: 63.98 kB / 0.8601 GB, free: 35.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/1.293, allocations: 15.97 MB / 0.8757 GB, free: 19.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.293, allocations: 11.94 kB / 0.8757 GB, free: 19.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01733/1.311, allocations: 12.59 MB / 0.888 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/1.312, allocations: 0.5562 MB / 0.8886 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006586/1.313, allocations: 56 kB / 0.8886 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/1.315, allocations: 227.7 kB / 0.8888 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006964/1.316, allocations: 209.5 kB / 0.889 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002383/1.316, allocations: 87.98 kB / 0.8891 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004812/1.321, allocations: 3.26 MB / 0.8923 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.321, allocations: 4 kB / 0.8923 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008375/1.329, allocations: 1.519 MB / 0.8938 GB, free: 0.8281 MB / 0.5606 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.0007236/1.33, allocations: 210.5 kB / 0.894 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01548/1.346, allocations: 8.52 MB / 0.9023 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.952e-05/1.346, allocations: 448 / 0.9023 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0059/1.351, allocations: 3.344 MB / 0.9056 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005244/1.357, allocations: 0.6544 MB / 0.9062 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/1.392, allocations: 14.86 MB / 0.9207 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009376/1.401, allocations: 4.286 MB / 0.9249 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007019/1.408, allocations: 2.456 MB / 0.9273 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.41, allocations: 343.4 kB / 0.9276 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of SimCode: time 2.154e-06/1.41, allocations: 0 / 0.9276 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of Templates: time 0.4609/1.871, allocations: 68.01 MB / 0.9941 GB, free: 208.1 MB / 0.6387 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.74610782880336]