Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.001402/0.001402, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001479/0.001479, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.532/1.532, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.2445/0.2445, allocations: 46.96 MB / 360.8 MB, free: 3.961 MB / 286.1 MB " [Timeout remaining time 179] 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 83.88 kB / 0.4966 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3998, allocations: 66.09 MB / 0.5612 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01818/0.418, allocations: 13 MB / 0.5739 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.4299, allocations: 4.236 MB / 0.578 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003428/0.4333, allocations: 91.69 kB / 0.5781 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005462/0.4387, allocations: 2.176 MB / 0.5802 GB, free: 432 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006581/0.4453, allocations: 2.062 MB / 0.5822 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.4473, allocations: 0.6083 MB / 0.5828 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008545/0.4559, allocations: 4.298 MB / 0.587 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005382/0.4612, allocations: 2.672 MB / 0.5896 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.4651, allocations: 1.623 MB / 0.5912 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005235/0.4704, allocations: 2.305 MB / 0.5935 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001805/0.4722, allocations: 340 kB / 0.5938 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.4758, allocations: 0.9362 MB / 0.5947 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003597/0.4794, allocations: 2.01 MB / 0.5967 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004781/0.4842, allocations: 1.723 MB / 0.5984 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.4976, allocations: 7.81 MB / 0.606 GB, free: 5.918 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4976, allocations: 8 kB / 0.606 GB, free: 5.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4976, allocations: 0 / 0.606 GB, free: 5.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000295/0.4979, allocations: 0 / 0.606 GB, free: 5.91 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01223/0.5101, allocations: 5.117 MB / 0.611 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.5102, allocations: 8.031 kB / 0.611 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.5213, allocations: 3.215 MB / 0.6141 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006397/0.5277, allocations: 2.341 MB / 0.6164 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.528, allocations: 250.6 kB / 0.6167 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00085/0.5288, allocations: 339.7 kB / 0.617 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/0.5508, allocations: 12.24 MB / 0.6289 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.551, allocations: 35.7 kB / 0.629 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004718/0.5514, allocations: 147.8 kB / 0.6291 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005032/0.5565, allocations: 2.855 MB / 0.6319 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02564/0.5821, allocations: 11.09 MB / 0.6427 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06724/0.6494, allocations: 37.18 MB / 0.679 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.6595, allocations: 3.581 MB / 0.6825 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003974/0.6634, allocations: 2.256 MB / 0.6847 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.6646, allocations: 453.2 kB / 0.6852 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.099e-05/0.6647, allocations: 52.56 kB / 0.6852 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 7.444e-06/0.6647, allocations: 0 / 0.6852 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04755/0.7122, allocations: 18.49 MB / 0.7033 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.7123, allocations: 73.41 kB / 0.7033 GB, free: 452 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005111/0.7174, allocations: 3.054 MB / 0.7063 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000303/0.7177, allocations: 69.58 kB / 0.7064 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002683/0.7204, allocations: 3.267 MB / 0.7096 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.7217, allocations: 1.019 MB / 0.7106 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/0.724, allocations: 1.188 MB / 0.7117 GB, free: 7.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7242, allocations: 309.1 kB / 0.712 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004136/0.7283, allocations: 2.463 MB / 0.7144 GB, free: 4.988 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00701/0.7353, allocations: 5.731 MB / 0.72 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/0.748, allocations: 8.988 MB / 0.7288 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/0.7481, allocations: 36 kB / 0.7289 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.3713/1.119, allocations: 8.983 MB / 0.7376 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.814e-05/1.119, allocations: 58.72 kB / 0.7377 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/1.12, allocations: 114.5 kB / 0.7378 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/1.122, allocations: 1.052 MB / 0.7388 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/1.127, allocations: 1.35 MB / 0.7401 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005905/1.132, allocations: 5.358 MB / 0.7454 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/1.137, allocations: 324 kB / 0.7457 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006957/1.137, allocations: 339.4 kB / 0.746 GB, free: 146.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729): * Single equations (assignments): 722 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003815/1.141, allocations: 2.415 MB / 0.7484 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/1.142, allocations: 302 kB / 0.7486 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007454/1.149, allocations: 5.348 MB / 0.7539 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.961e-05/1.149, allocations: 47.75 kB / 0.7539 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.149, allocations: 0 / 0.7539 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/1.149, allocations: 14.41 kB / 0.7539 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/1.166, allocations: 11.32 MB / 0.765 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.166, allocations: 13.38 kB / 0.765 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/1.167, allocations: 423.3 kB / 0.7654 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/1.17, allocations: 0.8901 MB / 0.7663 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/1.17, allocations: 51.98 kB / 0.7663 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/1.175, allocations: 4.685 MB / 0.7709 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/1.175, allocations: 15.94 kB / 0.7709 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009959/1.185, allocations: 7.992 MB / 0.7787 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009786/1.186, allocations: 271.8 kB / 0.779 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/1.186, allocations: 52.98 kB / 0.779 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.187, allocations: 151.8 kB / 0.7792 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/1.188, allocations: 177.3 kB / 0.7793 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.188, allocations: 75.98 kB / 0.7794 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002224/1.19, allocations: 1.733 MB / 0.7811 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.19, allocations: 0 / 0.7811 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005152/1.195, allocations: 1.054 MB / 0.7821 GB, free: 113.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * 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 {(3,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.0005149/1.196, allocations: 209.2 kB / 0.7823 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007735/1.204, allocations: 5.781 MB / 0.788 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/1.204, allocations: 0 / 0.788 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.206, allocations: 2.106 MB / 0.79 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/1.208, allocations: 345.4 kB / 0.7904 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.225, allocations: 11.53 MB / 0.8016 GB, free: 93.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/1.229, allocations: 3.178 MB / 0.8047 GB, free: 89.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004036/1.233, allocations: 2.12 MB / 0.8068 GB, free: 87.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/1.233, allocations: 223.4 kB / 0.807 GB, free: 87.65 MB / 0.5606 GB Notification: Performance of SimCode: time 1.743e-06/1.233, allocations: 0 / 0.807 GB, free: 87.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.05534/1.289, allocations: 33.73 MB / 0.8399 GB, free: 54.32 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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: 7.3771437630057335]