Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 209.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2405/0.2405, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003357/0.003357, allocations: 63.89 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3725, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01789/0.3904, allocations: 13.01 MB / 0.5738 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.4015, allocations: 4.232 MB / 0.5779 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/0.4045, allocations: 87.69 kB / 0.578 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004894/0.4094, allocations: 2.18 MB / 0.5801 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.4152, allocations: 2.059 MB / 0.5821 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.417, allocations: 0.6161 MB / 0.5827 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00672/0.4237, allocations: 4.299 MB / 0.5869 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005522/0.4293, allocations: 2.684 MB / 0.5896 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.4324, allocations: 1.62 MB / 0.5912 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/0.4367, allocations: 2.43 MB / 0.5935 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001306/0.438, allocations: 340 kB / 0.5938 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.4409, allocations: 0.944 MB / 0.5948 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003111/0.444, allocations: 2.014 MB / 0.5967 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003909/0.4479, allocations: 1.719 MB / 0.5984 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.461, allocations: 7.81 MB / 0.606 GB, free: 5.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.461, allocations: 4 kB / 0.606 GB, free: 5.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.461, allocations: 0 / 0.606 GB, free: 5.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003479/0.4613, allocations: 0 / 0.606 GB, free: 5.926 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.01705/0.4784, allocations: 5.121 MB / 0.611 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.4784, allocations: 8.031 kB / 0.6111 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.4909, allocations: 3.223 MB / 0.6142 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007831/0.4988, allocations: 2.337 MB / 0.6165 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.4991, allocations: 254.6 kB / 0.6167 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001649/0.5008, allocations: 327.7 kB / 0.617 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02458/0.5254, allocations: 12.24 MB / 0.629 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002094/0.5256, allocations: 35.69 kB / 0.629 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001365/0.5269, allocations: 151.8 kB / 0.6292 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00542/0.5324, allocations: 2.859 MB / 0.632 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.5587, allocations: 11.09 MB / 0.6428 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0708/0.6295, allocations: 37.17 MB / 0.6791 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.6417, allocations: 3.584 MB / 0.6826 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004375/0.646, allocations: 2.249 MB / 0.6848 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.6472, allocations: 457.2 kB / 0.6852 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.16e-05/0.6473, allocations: 56.5 kB / 0.6853 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 7.514e-06/0.6473, allocations: 0 / 0.6853 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.07008/0.7174, allocations: 18.49 MB / 0.7033 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.7175, allocations: 77.41 kB / 0.7034 GB, free: 460 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008755/0.7263, allocations: 3.058 MB / 0.7064 GB, free: 13.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007414/0.727, allocations: 65.7 kB / 0.7065 GB, free: 13.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004592/0.7316, allocations: 3.267 MB / 0.7096 GB, free: 9.996 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002194/0.7338, allocations: 1.019 MB / 0.7106 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004917/0.7387, allocations: 1.195 MB / 0.7118 GB, free: 7.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.7389, allocations: 305.1 kB / 0.7121 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006904/0.7458, allocations: 2.467 MB / 0.7145 GB, free: 4.988 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/0.7562, allocations: 5.731 MB / 0.7201 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01402/0.7702, allocations: 8.984 MB / 0.7289 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/0.7704, allocations: 32 kB / 0.7289 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.3505/1.121, allocations: 8.982 MB / 0.7377 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/1.121, allocations: 59.12 kB / 0.7377 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/1.121, allocations: 110.6 kB / 0.7378 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/1.124, allocations: 1.053 MB / 0.7389 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005018/1.129, allocations: 1.356 MB / 0.7402 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/1.135, allocations: 5.359 MB / 0.7454 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.139, allocations: 324.8 kB / 0.7457 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005705/1.139, allocations: 338.1 kB / 0.7461 GB, free: 146.8 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.003419/1.143, allocations: 2.406 MB / 0.7484 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/1.143, allocations: 298.2 kB / 0.7487 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007707/1.151, allocations: 5.348 MB / 0.7539 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-05/1.151, allocations: 47.94 kB / 0.754 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.151, allocations: 4 kB / 0.754 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/1.151, allocations: 15.66 kB / 0.754 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.169, allocations: 11.33 MB / 0.765 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/1.169, allocations: 8 kB / 0.7651 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.17, allocations: 419.3 kB / 0.7655 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/1.173, allocations: 0.8988 MB / 0.7663 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/1.173, allocations: 59.3 kB / 0.7664 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00476/1.178, allocations: 4.67 MB / 0.7709 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/1.178, allocations: 15.94 kB / 0.771 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009335/1.187, allocations: 7.994 MB / 0.7788 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/1.188, allocations: 269.3 kB / 0.779 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/1.188, allocations: 55.98 kB / 0.7791 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.189, allocations: 147.8 kB / 0.7792 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/1.19, allocations: 177.4 kB / 0.7794 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/1.19, allocations: 83.66 kB / 0.7795 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002054/1.192, allocations: 1.726 MB / 0.7812 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.192, allocations: 1.969 kB / 0.7812 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004298/1.196, allocations: 1.055 MB / 0.7822 GB, free: 113.4 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.0004432/1.197, allocations: 200.5 kB / 0.7824 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007369/1.204, allocations: 5.789 MB / 0.788 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/1.204, allocations: 8 kB / 0.788 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/1.206, allocations: 2.099 MB / 0.7901 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.209, allocations: 349.7 kB / 0.7904 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/1.225, allocations: 11.52 MB / 0.8017 GB, free: 93.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003474/1.228, allocations: 3.182 MB / 0.8048 GB, free: 90.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003763/1.232, allocations: 2.123 MB / 0.8069 GB, free: 88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007113/1.233, allocations: 223.4 kB / 0.8071 GB, free: 87.79 MB / 0.5606 GB Notification: Performance of SimCode: time 1.913e-06/1.233, allocations: 0 / 0.8071 GB, free: 87.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.05972/1.293, allocations: 36.36 MB / 0.8426 GB, free: 51.83 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.400039175059646]