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.001928/0.001928, allocations: 117.9 kB / 18.46 MB, free: 4.613 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.002214/0.002214, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.546/1.546, allocations: 227.4 MB / 251.6 MB, free: 104 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.2373/0.2373, allocations: 46.18 MB / 351.1 MB, free: 14.3 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.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.002515/0.002515, allocations: 85.25 kB / 490.2 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1513, allocations: 62.45 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01716/0.1685, allocations: 14.95 MB / 0.5543 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.1796, allocations: 4.435 MB / 0.5586 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.183, allocations: 79.81 kB / 0.5587 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005371/0.1884, allocations: 2.211 MB / 0.5609 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007995/0.1965, allocations: 1.987 MB / 0.5628 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.1991, allocations: 0.6122 MB / 0.5634 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007999/0.2072, allocations: 4.308 MB / 0.5676 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005679/0.2129, allocations: 3.15 MB / 0.5707 GB, free: 4.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.217, allocations: 1.569 MB / 0.5722 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004587/0.2216, allocations: 2.212 MB / 0.5744 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.2234, allocations: 344 kB / 0.5747 GB, free: 224 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.2266, allocations: 1.034 MB / 0.5757 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003058/0.2297, allocations: 1.96 MB / 0.5776 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004608/0.2343, allocations: 2.38 MB / 0.5799 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.246, allocations: 7.773 MB / 0.5875 GB, free: 3.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.246, allocations: 0 / 0.5875 GB, free: 3.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.246, allocations: 3.938 kB / 0.5875 GB, free: 3.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003203/0.2464, allocations: 0 / 0.5875 GB, free: 3.016 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.01345/0.2598, allocations: 5.204 MB / 0.5926 GB, free: 13.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2599, allocations: 8.031 kB / 0.5926 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.2715, allocations: 3.215 MB / 0.5958 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00653/0.2781, allocations: 2.39 MB / 0.5981 GB, free: 8.059 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/0.2784, allocations: 246.6 kB / 0.5983 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/0.2809, allocations: 331.7 kB / 0.5987 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.393/0.674, allocations: 12.23 MB / 0.6106 GB, free: 52.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.6742, allocations: 35.2 kB / 0.6106 GB, free: 52.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005092/0.6747, allocations: 154.7 kB / 0.6108 GB, free: 52.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006288/0.681, allocations: 2.84 MB / 0.6136 GB, free: 52.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02768/0.7087, allocations: 11.13 MB / 0.6244 GB, free: 48.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04978/0.7585, allocations: 40.59 MB / 0.6641 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/0.7663, allocations: 4.699 MB / 0.6687 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.769, allocations: 2.428 MB / 0.671 GB, free: 7.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008391/0.7698, allocations: 1.314 MB / 0.6723 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.7699, allocations: 56.55 kB / 0.6724 GB, free: 5.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 4.528e-06/0.7699, allocations: 0 / 0.6724 GB, free: 5.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.04192/0.8118, allocations: 18.78 MB / 0.6907 GB, free: 3.082 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.8119, allocations: 73.41 kB / 0.6908 GB, free: 3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004733/0.8167, allocations: 3.172 MB / 0.6939 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002744/0.8169, allocations: 67.81 kB / 0.6939 GB, free: 15.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002552/0.8195, allocations: 3.242 MB / 0.6971 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/0.821, allocations: 1.015 MB / 0.6981 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/0.8229, allocations: 1.195 MB / 0.6993 GB, free: 10.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.8231, allocations: 301.1 kB / 0.6995 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/0.8267, allocations: 2.463 MB / 0.702 GB, free: 7.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006186/0.8329, allocations: 5.731 MB / 0.7075 GB, free: 264 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/0.8445, allocations: 8.984 MB / 0.7163 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.463e-05/0.8446, allocations: 32 kB / 0.7164 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01824/0.8629, allocations: 9.021 MB / 0.7252 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.387e-05/0.863, allocations: 52 kB / 0.7252 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/0.8632, allocations: 120.2 kB / 0.7253 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.8663, allocations: 1.05 MB / 0.7264 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004667/0.871, allocations: 1.345 MB / 0.7277 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/0.8791, allocations: 5.546 MB / 0.7331 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/0.8842, allocations: 327.7 kB / 0.7334 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007982/0.885, allocations: 340 kB / 0.7337 GB, free: 3.707 MB / 0.5137 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.004853/0.8899, allocations: 2.417 MB / 0.7361 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007311/0.8906, allocations: 325.8 kB / 0.7364 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009554/0.9002, allocations: 5.364 MB / 0.7416 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.055e-05/0.9002, allocations: 43.98 kB / 0.7417 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.9003, allocations: 9.969 kB / 0.7417 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.9003, allocations: 7.969 kB / 0.7417 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.022/0.9223, allocations: 13.04 MB / 0.7544 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.9223, allocations: 8 kB / 0.7544 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.9241, allocations: 427.3 kB / 0.7548 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/0.927, allocations: 0.8905 MB / 0.7557 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/0.9272, allocations: 51.98 kB / 0.7558 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006588/0.9338, allocations: 4.833 MB / 0.7605 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/0.9338, allocations: 15.94 kB / 0.7605 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.9466, allocations: 8.03 MB / 0.7683 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.9477, allocations: 390.9 kB / 0.7687 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/0.9481, allocations: 47.98 kB / 0.7688 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.9495, allocations: 151.9 kB / 0.7689 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/0.9499, allocations: 169.4 kB / 0.7691 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/0.9501, allocations: 79.98 kB / 0.7691 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003259/0.9534, allocations: 1.956 MB / 0.771 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9534, allocations: 0 / 0.771 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005298/0.9587, allocations: 1.066 MB / 0.7721 GB, free: 11.71 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.0005725/0.9593, allocations: 198.6 kB / 0.7723 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009513/0.9688, allocations: 6.054 MB / 0.7782 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.9689, allocations: 0 / 0.7782 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003422/0.9723, allocations: 2.254 MB / 0.7804 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.9748, allocations: 460 kB / 0.7808 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/0.9988, allocations: 11.39 MB / 0.7919 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005838/1.005, allocations: 3.708 MB / 0.7956 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005039/1.01, allocations: 2.146 MB / 0.7977 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000919/1.011, allocations: 243.4 kB / 0.7979 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/1.011, allocations: 0 / 0.7979 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of Templates: time 0.07614/1.087, allocations: 34.57 MB / 0.8317 GB, free: 14.56 MB / 0.6231 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.0.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.044624318368733]