Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.001281/0.001281, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001755/0.001755, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.402/1.402, allocations: 230.3 MB / 258 MB, free: 8.246 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.2242/0.2242, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 79.86 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3348, allocations: 66.02 MB / 0.5615 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01381/0.3486, allocations: 12.37 MB / 0.5736 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009454/0.3581, allocations: 3.983 MB / 0.5775 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.3603, allocations: 71.75 kB / 0.5776 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.3633, allocations: 1.339 MB / 0.5789 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004405/0.3677, allocations: 1.767 MB / 0.5806 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3689, allocations: 0.4912 MB / 0.5811 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004957/0.3739, allocations: 3.608 MB / 0.5846 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.3761, allocations: 1.614 MB / 0.5862 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.3779, allocations: 1.218 MB / 0.5874 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.3806, allocations: 1.884 MB / 0.5892 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005421/0.3811, allocations: 232 kB / 0.5894 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.3833, allocations: 0.9828 MB / 0.5904 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.385, allocations: 1.612 MB / 0.592 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.3871, allocations: 1.879 MB / 0.5938 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007615/0.3947, allocations: 6.2 MB / 0.5999 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3947, allocations: 0 / 0.5999 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3947, allocations: 0 / 0.5999 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001507/0.3949, allocations: 0 / 0.5999 GB, free: 13.2 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.009056/0.404, allocations: 4.17 MB / 0.6039 GB, free: 8.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.404, allocations: 8.031 kB / 0.6039 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.4148, allocations: 3.094 MB / 0.607 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005011/0.4198, allocations: 1.819 MB / 0.6087 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.42, allocations: 185 kB / 0.6089 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008901/0.4209, allocations: 248 kB / 0.6091 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.439, allocations: 10.48 MB / 0.6194 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.655e-05/0.439, allocations: 27.75 kB / 0.6194 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.4394, allocations: 119.8 kB / 0.6195 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004548/0.444, allocations: 2.545 MB / 0.622 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/0.4648, allocations: 9.923 MB / 0.6317 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05452/0.5194, allocations: 34.21 MB / 0.6651 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009452/0.5288, allocations: 4.047 MB / 0.6691 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.532, allocations: 2.115 MB / 0.6711 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.5332, allocations: 0.5633 MB / 0.6717 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.5332, allocations: 52.56 kB / 0.6717 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.408e-06/0.5332, allocations: 0 / 0.6717 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03451/0.5677, allocations: 13.9 MB / 0.6853 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.5678, allocations: 77.34 kB / 0.6854 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.5716, allocations: 2.635 MB / 0.6879 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003477/0.5719, allocations: 53.7 kB / 0.688 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002086/0.574, allocations: 2.742 MB / 0.6907 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.5751, allocations: 0.8913 MB / 0.6915 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/0.5766, allocations: 1.049 MB / 0.6926 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5768, allocations: 305.1 kB / 0.6929 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/0.5803, allocations: 2.208 MB / 0.695 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00621/0.5865, allocations: 5.071 MB / 0.7 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/0.5967, allocations: 7.973 MB / 0.7078 GB, free: 10.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-05/0.5968, allocations: 28 kB / 0.7078 GB, free: 10.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01489/0.6117, allocations: 7.889 MB / 0.7155 GB, free: 2.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.6117, allocations: 50.19 kB / 0.7155 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/0.6119, allocations: 100 kB / 0.7156 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.6141, allocations: 0.7852 MB / 0.7164 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003983/0.6181, allocations: 1.201 MB / 0.7176 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/0.6243, allocations: 4.412 MB / 0.7219 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/0.6279, allocations: 291.8 kB / 0.7222 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006504/0.6286, allocations: 308 kB / 0.7224 GB, free: 11.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003771/0.6323, allocations: 2.018 MB / 0.7244 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004862/0.6328, allocations: 274.2 kB / 0.7247 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008373/0.6412, allocations: 4.706 MB / 0.7293 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.048e-05/0.6413, allocations: 47.98 kB / 0.7293 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6413, allocations: 3.938 kB / 0.7293 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.6413, allocations: 11.97 kB / 0.7293 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3419/0.9832, allocations: 10.47 MB / 0.7396 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.9832, allocations: 11.44 kB / 0.7396 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.9846, allocations: 359.9 kB / 0.7399 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/0.9866, allocations: 0.661 MB / 0.7406 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.9868, allocations: 38.66 kB / 0.7406 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/0.9907, allocations: 3.812 MB / 0.7443 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.9907, allocations: 11.62 kB / 0.7443 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008524/0.9992, allocations: 7.135 MB / 0.7513 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007571/1, allocations: 243.9 kB / 0.7515 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/1, allocations: 35.56 kB / 0.7516 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.001, allocations: 147.7 kB / 0.7517 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/1.002, allocations: 142.2 kB / 0.7518 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.002, allocations: 62.02 kB / 0.7519 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001974/1.004, allocations: 1.618 MB / 0.7535 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.004, allocations: 3.875 kB / 0.7535 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003477/1.007, allocations: 0.9116 MB / 0.7544 GB, free: 145.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000403/1.008, allocations: 175.1 kB / 0.7545 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006227/1.014, allocations: 5.153 MB / 0.7596 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.014, allocations: 4 kB / 0.7596 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/1.016, allocations: 1.873 MB / 0.7614 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/1.018, allocations: 361.6 kB / 0.7618 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.03, allocations: 9.561 MB / 0.7711 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/1.032, allocations: 3.167 MB / 0.7742 GB, free: 126 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003319/1.035, allocations: 1.955 MB / 0.7761 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/1.036, allocations: 203.4 kB / 0.7763 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/1.036, allocations: 0 / 0.7763 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04944/1.085, allocations: 32.59 MB / 0.8081 GB, free: 91.48 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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: 6.819580701179802]