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.001371/0.001371, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001558/0.001558, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.465/1.465, allocations: 230.3 MB / 258 MB, free: 8.254 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.2297/0.2297, allocations: 46.89 MB / 361.3 MB, free: 4.465 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.002773/0.002773, allocations: 79.86 kB / 0.4971 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4148, allocations: 66.02 MB / 0.5615 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01915/0.4339, allocations: 15.05 MB / 0.5762 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.4461, allocations: 4.473 MB / 0.5806 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.4492, allocations: 91.62 kB / 0.5807 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00527/0.4544, allocations: 2.265 MB / 0.5829 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.4604, allocations: 2.047 MB / 0.5849 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.4623, allocations: 0.616 MB / 0.5855 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00682/0.4691, allocations: 4.303 MB / 0.5897 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004299/0.4734, allocations: 2.401 MB / 0.592 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.477, allocations: 1.62 MB / 0.5936 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.4815, allocations: 2.426 MB / 0.596 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.4828, allocations: 344 kB / 0.5963 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.4858, allocations: 1.065 MB / 0.5974 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00277/0.4885, allocations: 2.014 MB / 0.5993 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00483/0.4934, allocations: 2.376 MB / 0.6017 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.5063, allocations: 7.776 MB / 0.6092 GB, free: 3.578 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.5063, allocations: 0 / 0.6092 GB, free: 3.578 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5063, allocations: 0 / 0.6092 GB, free: 3.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003587/0.5066, allocations: 0 / 0.6092 GB, free: 3.578 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.01457/0.5212, allocations: 5.129 MB / 0.6143 GB, free: 14.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5213, allocations: 8.031 kB / 0.6143 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.5331, allocations: 3.219 MB / 0.6174 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006158/0.5393, allocations: 2.322 MB / 0.6197 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.5395, allocations: 246.6 kB / 0.6199 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.5406, allocations: 327.7 kB / 0.6202 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/0.5632, allocations: 12.24 MB / 0.6322 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.5633, allocations: 31.75 kB / 0.6322 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004704/0.5638, allocations: 151.8 kB / 0.6324 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00521/0.569, allocations: 2.847 MB / 0.6351 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/0.5938, allocations: 11.14 MB / 0.646 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06403/0.6578, allocations: 40.42 MB / 0.6855 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009592/0.6674, allocations: 3.602 MB / 0.689 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003655/0.6711, allocations: 2.248 MB / 0.6912 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008836/0.672, allocations: 449.1 kB / 0.6916 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/0.672, allocations: 56.56 kB / 0.6917 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 5.29e-06/0.672, allocations: 0 / 0.6917 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.04751/0.7195, allocations: 18.45 MB / 0.7097 GB, free: 10.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.7196, allocations: 81.34 kB / 0.7098 GB, free: 10.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005222/0.7248, allocations: 3.168 MB / 0.7129 GB, free: 7.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000467/0.7253, allocations: 65.69 kB / 0.7129 GB, free: 7.551 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.728, allocations: 3.245 MB / 0.7161 GB, free: 4.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.7293, allocations: 1.011 MB / 0.7171 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001732/0.731, allocations: 1.195 MB / 0.7183 GB, free: 2.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7312, allocations: 301.1 kB / 0.7185 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003958/0.7351, allocations: 2.463 MB / 0.721 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006813/0.742, allocations: 5.731 MB / 0.7265 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3703/1.112, allocations: 8.99 MB / 0.7353 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/1.112, allocations: 32.28 kB / 0.7354 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01854/1.131, allocations: 9.01 MB / 0.7442 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/1.131, allocations: 52.91 kB / 0.7442 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/1.131, allocations: 114.5 kB / 0.7443 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/1.134, allocations: 1.06 MB / 0.7454 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/1.139, allocations: 1.349 MB / 0.7467 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/1.145, allocations: 5.429 MB / 0.752 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004352/1.149, allocations: 322.3 kB / 0.7523 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007777/1.15, allocations: 346.5 kB / 0.7526 GB, free: 142.3 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.003949/1.154, allocations: 2.408 MB / 0.755 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005526/1.155, allocations: 330.1 kB / 0.7553 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008936/1.164, allocations: 5.36 MB / 0.7605 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-05/1.164, allocations: 48.38 kB / 0.7606 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/1.164, allocations: 4 kB / 0.7606 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/1.164, allocations: 10.92 kB / 0.7606 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/1.191, allocations: 12.98 MB / 0.7732 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.191, allocations: 12 kB / 0.7733 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/1.194, allocations: 426.6 kB / 0.7737 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/1.198, allocations: 0.8927 MB / 0.7745 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000331/1.198, allocations: 52 kB / 0.7746 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/1.203, allocations: 4.737 MB / 0.7792 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.203, allocations: 15.94 kB / 0.7792 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.213, allocations: 8.027 MB / 0.7871 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009723/1.214, allocations: 301.8 kB / 0.7874 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003578/1.214, allocations: 55.89 kB / 0.7874 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.216, allocations: 147.8 kB / 0.7875 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/1.216, allocations: 169.4 kB / 0.7877 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.216, allocations: 79.98 kB / 0.7878 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002523/1.219, allocations: 1.956 MB / 0.7897 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.219, allocations: 3.938 kB / 0.7897 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00429/1.223, allocations: 1.07 MB / 0.7907 GB, free: 106.2 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.0004176/1.223, allocations: 196 kB / 0.7909 GB, free: 106 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007097/1.23, allocations: 5.789 MB / 0.7966 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.23, allocations: 8.062 kB / 0.7966 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/1.233, allocations: 2.093 MB / 0.7986 GB, free: 98.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.235, allocations: 472.5 kB / 0.7991 GB, free: 97.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.251, allocations: 11.53 MB / 0.8103 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003466/1.255, allocations: 3.708 MB / 0.814 GB, free: 82.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004137/1.259, allocations: 2.15 MB / 0.8161 GB, free: 80.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007187/1.26, allocations: 247.4 kB / 0.8163 GB, free: 79.85 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/1.26, allocations: 0 / 0.8163 GB, free: 79.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.06529/1.325, allocations: 39.08 MB / 0.8545 GB, free: 41.01 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.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.603361703455448]