Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 184.5 kB / 21.49 MB, free: 0.8242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 207.6 MB / 232.1 MB, free: 3.156 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.402/0.402, allocations: 44.22 MB / 328.4 MB, free: 6.195 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 74.33 kB / 465.5 MB, free: 45.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1762, allocations: 61.01 MB / 0.5142 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.02104/0.1973, allocations: 15.85 MB / 0.5297 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.2112, allocations: 4.533 MB / 0.5341 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004368/0.2156, allocations: 83.81 kB / 0.5342 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00679/0.2224, allocations: 2.296 MB / 0.5364 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.233, allocations: 2.129 MB / 0.5385 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.2359, allocations: 0.6277 MB / 0.5391 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.2461, allocations: 4.447 MB / 0.5435 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004839/0.251, allocations: 2.471 MB / 0.5459 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004549/0.2555, allocations: 1.67 MB / 0.5475 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006049/0.2616, allocations: 2.484 MB / 0.5499 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00154/0.2631, allocations: 352 kB / 0.5503 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.2664, allocations: 1.081 MB / 0.5513 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003625/0.2701, allocations: 2.107 MB / 0.5534 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004717/0.2748, allocations: 2.485 MB / 0.5558 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.2902, allocations: 8.079 MB / 0.5637 GB, free: 10.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.2902, allocations: 4 kB / 0.5637 GB, free: 10.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2902, allocations: 3.938 kB / 0.5637 GB, free: 10.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000392/0.2906, allocations: 0 / 0.5637 GB, free: 10.32 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01524/0.3059, allocations: 5.404 MB / 0.569 GB, free: 4.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.3059, allocations: 15.84 kB / 0.569 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.3174, allocations: 3.226 MB / 0.5722 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007/0.3244, allocations: 2.488 MB / 0.5746 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/0.3247, allocations: 258.8 kB / 0.5748 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.3259, allocations: 351.7 kB / 0.5752 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02807/0.3539, allocations: 12.66 MB / 0.5875 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/0.3541, allocations: 31.7 kB / 0.5876 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006089/0.3547, allocations: 163.8 kB / 0.5877 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006156/0.3609, allocations: 3.024 MB / 0.5907 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02943/0.3903, allocations: 11.33 MB / 0.6017 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09057/0.4809, allocations: 42.18 MB / 0.6429 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.4923, allocations: 4.536 MB / 0.6474 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004112/0.4965, allocations: 2.253 MB / 0.6496 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4508/0.9472, allocations: 1.319 MB / 0.6508 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.364e-05/0.9473, allocations: 54 kB / 0.6509 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=250): time 8.155e-06/0.9473, allocations: 3.844 kB / 0.6509 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=268): time 0.04763/0.995, allocations: 19.64 MB / 0.6701 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.9951, allocations: 105 kB / 0.6702 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/1.001, allocations: 3.27 MB / 0.6734 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005743/1.001, allocations: 64.12 kB / 0.6734 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002367/1.004, allocations: 3.414 MB / 0.6768 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/1.005, allocations: 1.034 MB / 0.6778 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/1.006, allocations: 1.218 MB / 0.679 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.066e-05/1.007, allocations: 305.1 kB / 0.6793 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003484/1.01, allocations: 2.489 MB / 0.6817 GB, free: 104 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004829/1.015, allocations: 5.893 MB / 0.6874 GB, free: 96.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/1.027, allocations: 9.197 MB / 0.6964 GB, free: 85.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/1.027, allocations: 32 kB / 0.6965 GB, free: 85.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01964/1.047, allocations: 9.186 MB / 0.7054 GB, free: 76.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002113/1.047, allocations: 56.97 kB / 0.7055 GB, free: 76.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003142/1.047, allocations: 116 kB / 0.7056 GB, free: 76.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0029/1.05, allocations: 1.058 MB / 0.7066 GB, free: 75.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004576/1.055, allocations: 1.392 MB / 0.708 GB, free: 73.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007089/1.062, allocations: 5.557 MB / 0.7134 GB, free: 68.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006946/1.069, allocations: 327.8 kB / 0.7137 GB, free: 67.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.071, allocations: 352 kB / 0.7141 GB, free: 67.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (751): * Single equations (assignments): 744 * 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.006679/1.077, allocations: 2.482 MB / 0.7165 GB, free: 65.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.079, allocations: 337.7 kB / 0.7168 GB, free: 64.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.09, allocations: 5.368 MB / 0.7221 GB, free: 59.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/1.09, allocations: 47.98 kB / 0.7221 GB, free: 59.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-05/1.09, allocations: 7.938 kB / 0.7221 GB, free: 59.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/1.09, allocations: 13.89 kB / 0.7221 GB, free: 59.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02737/1.117, allocations: 13.32 MB / 0.7351 GB, free: 45.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.962e-05/1.117, allocations: 12 kB / 0.7351 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.119, allocations: 427.3 kB / 0.7355 GB, free: 45.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/1.122, allocations: 0.8866 MB / 0.7364 GB, free: 44.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005432/1.122, allocations: 57.3 kB / 0.7365 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00604/1.128, allocations: 4.836 MB / 0.7412 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.597e-05/1.128, allocations: 19.94 kB / 0.7412 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.14, allocations: 8.042 MB / 0.7491 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/1.143, allocations: 0.7494 MB / 0.7498 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.144, allocations: 55.81 kB / 0.7498 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.146, allocations: 151.8 kB / 0.75 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006481/1.147, allocations: 173.4 kB / 0.7502 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000331/1.147, allocations: 79.98 kB / 0.7502 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005561/1.153, allocations: 2.014 MB / 0.7522 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.153, allocations: 0 / 0.7522 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008653/1.162, allocations: 1.121 MB / 0.7533 GB, free: 26.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * 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.001035/1.163, allocations: 202.5 kB / 0.7535 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.174, allocations: 5.859 MB / 0.7592 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-05/1.174, allocations: 0 / 0.7592 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003497/1.177, allocations: 2.11 MB / 0.7613 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005097/1.182, allocations: 437.5 kB / 0.7617 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02836/1.211, allocations: 11.92 MB / 0.7733 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00938/1.22, allocations: 3.823 MB / 0.7771 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006524/1.227, allocations: 2.182 MB / 0.7792 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.228, allocations: 239.5 kB / 0.7794 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.644e-06/1.228, allocations: 7.938 kB / 0.7794 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of Templates: time 0.09551/1.324, allocations: 36.93 MB / 0.8155 GB, free: 11.03 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.70035217795521]