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.001365/0.001365, allocations: 117 kB / 19.13 MB, free: 3.918 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.001997/0.001997, allocations: 206.6 kB / 22.08 MB, free: 0.9727 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.459/1.459, allocations: 227.4 MB / 252.3 MB, free: 60 kB / 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.236/0.236, allocations: 46.17 MB / 351.8 MB, free: 14.28 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.00233/0.00233, allocations: 82.05 kB / 490.9 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1158, allocations: 62.44 MB / 0.5404 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01668/0.1326, allocations: 14.67 MB / 0.5547 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.1436, allocations: 5.007 MB / 0.5596 GB, free: 484 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.1463, allocations: 99.69 kB / 0.5597 GB, free: 384 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008273/0.1546, allocations: 4.139 MB / 0.5637 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006584/0.1613, allocations: 2.321 MB / 0.566 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.1642, allocations: 1.072 MB / 0.567 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.175, allocations: 7.142 MB / 0.574 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006836/0.1819, allocations: 5.139 MB / 0.579 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004191/0.1862, allocations: 2.223 MB / 0.5812 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.1911, allocations: 3.045 MB / 0.5842 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.1926, allocations: 500 kB / 0.5846 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.1958, allocations: 1.366 MB / 0.586 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003274/0.1991, allocations: 2.735 MB / 0.5886 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004303/0.2034, allocations: 3.123 MB / 0.5917 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.2168, allocations: 9.814 MB / 0.6013 GB, free: 5.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2168, allocations: 0 / 0.6013 GB, free: 5.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2168, allocations: 0 / 0.6013 GB, free: 5.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003459/0.2172, allocations: 3.984 kB / 0.6013 GB, free: 5.582 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.2671/0.4843, allocations: 7.026 MB / 0.6081 GB, free: 54.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4844, allocations: 9.188 kB / 0.6081 GB, free: 54.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02888/0.5133, allocations: 3.35 MB / 0.6114 GB, free: 54.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.5249, allocations: 4.44 MB / 0.6158 GB, free: 52.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004283/0.5254, allocations: 330.6 kB / 0.6161 GB, free: 52.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.5272, allocations: 442.8 kB / 0.6165 GB, free: 52.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02572/0.5529, allocations: 13.09 MB / 0.6293 GB, free: 45.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002763/0.5533, allocations: 71.38 kB / 0.6293 GB, free: 45.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000794/0.5541, allocations: 205.2 kB / 0.6295 GB, free: 45.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004131/0.5582, allocations: 2.527 MB / 0.632 GB, free: 44.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/0.5776, allocations: 11.39 MB / 0.6431 GB, free: 34.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06175/0.6394, allocations: 52.84 MB / 0.6947 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/0.6537, allocations: 5.653 MB / 0.7003 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004987/0.6587, allocations: 3.505 MB / 0.7037 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008274/0.6596, allocations: 0.6838 MB / 0.7043 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.5e-05/0.6597, allocations: 64.56 kB / 0.7044 GB, free: 2.586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 5.2e-06/0.6597, allocations: 0 / 0.7044 GB, free: 2.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.1067/0.7664, allocations: 36.8 MB / 0.7403 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/0.7666, allocations: 265.3 kB / 0.7406 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008406/0.775, allocations: 5.181 MB / 0.7457 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008148/0.7759, allocations: 73.7 kB / 0.7457 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003431/0.7793, allocations: 4.015 MB / 0.7496 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00175/0.7811, allocations: 1.228 MB / 0.7508 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002536/0.7836, allocations: 1.607 MB / 0.7524 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7838, allocations: 305.1 kB / 0.7527 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005739/0.7895, allocations: 3.627 MB / 0.7562 GB, free: 13.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009571/0.7991, allocations: 7.811 MB / 0.7639 GB, free: 3.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/0.8167, allocations: 12.24 MB / 0.7758 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/0.8169, allocations: 47.94 kB / 0.7759 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02924/0.8462, allocations: 13.76 MB / 0.7893 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.8464, allocations: 67.94 kB / 0.7894 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/0.8466, allocations: 144 kB / 0.7895 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00778/0.8544, allocations: 2.756 MB / 0.7922 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006408/0.8609, allocations: 1.774 MB / 0.7939 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02546/0.8863, allocations: 17.82 MB / 0.8113 GB, free: 424 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006106/0.8925, allocations: 475.4 kB / 0.8118 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/0.8939, allocations: 455.9 kB / 0.8122 GB, free: 15.5 MB / 0.6075 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.005215/0.8991, allocations: 2.744 MB / 0.8149 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/0.9003, allocations: 0.4967 MB / 0.8154 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/0.9157, allocations: 8.039 MB / 0.8232 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.477e-05/0.9158, allocations: 32 kB / 0.8233 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/0.9159, allocations: 12 kB / 0.8233 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.413e-05/0.9159, allocations: 15.94 kB / 0.8233 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03019/0.9461, allocations: 16.84 MB / 0.8397 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/0.9462, allocations: 11.98 kB / 0.8398 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/0.9487, allocations: 0.4961 MB / 0.8402 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006667/0.9554, allocations: 2.483 MB / 0.8427 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004352/0.9558, allocations: 63.98 kB / 0.8427 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02318/1.263, allocations: 15.96 MB / 0.8583 GB, free: 199.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/1.263, allocations: 11.66 kB / 0.8583 GB, free: 199.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/1.284, allocations: 12.63 MB / 0.8707 GB, free: 194.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.285, allocations: 0.5528 MB / 0.8712 GB, free: 194.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/1.286, allocations: 55.78 kB / 0.8713 GB, free: 194.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002584/1.289, allocations: 226.8 kB / 0.8715 GB, free: 194.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006685/1.289, allocations: 204.7 kB / 0.8717 GB, free: 194.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002301/1.29, allocations: 86.02 kB / 0.8717 GB, free: 194.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004352/1.294, allocations: 3.27 MB / 0.8749 GB, free: 193.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.294, allocations: 3.875 kB / 0.8749 GB, free: 193.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006834/1.301, allocations: 1.528 MB / 0.8764 GB, free: 193.4 MB / 0.6231 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.0006852/1.302, allocations: 203.3 kB / 0.8766 GB, free: 193.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01205/1.314, allocations: 8.908 MB / 0.8853 GB, free: 189.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.314, allocations: 0 / 0.8853 GB, free: 189.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004705/1.318, allocations: 3.577 MB / 0.8888 GB, free: 188.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/1.323, allocations: 0.6724 MB / 0.8895 GB, free: 188 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/1.347, allocations: 15.3 MB / 0.9044 GB, free: 174.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004841/1.351, allocations: 4.257 MB / 0.9086 GB, free: 170.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/1.353, allocations: 395.3 kB / 0.909 GB, free: 170.2 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/1.353, allocations: 0 / 0.909 GB, free: 170.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.1391/1.492, allocations: 135.4 MB / 1.041 GB, free: 34.71 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.19198319700081]