Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001775/0.001775, allocations: 182.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008597/0.0008598, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2548/0.2548, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 58.86 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5427, allocations: 109.3 MB / 0.5855 GB, free: 6.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.5431, allocations: 89.36 kB / 0.5856 GB, free: 6.766 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2455/0.7886, allocations: 98.32 MB / 0.6816 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.388e-06/0.7886, allocations: 4 kB / 0.6816 GB, free: 12.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002498/0.7889, allocations: 104 kB / 0.6817 GB, free: 12.04 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02185/0.8107, allocations: 5.789 MB / 0.6873 GB, free: 6.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.8108, allocations: 8.031 kB / 0.6874 GB, free: 6.168 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.8215, allocations: 2.325 MB / 0.6896 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.8351, allocations: 4.996 MB / 0.6945 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/0.8355, allocations: 390.2 kB / 0.6949 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002565/0.8381, allocations: 0.527 MB / 0.6954 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2735/1.112, allocations: 12.99 MB / 0.7081 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004189/1.112, allocations: 60.72 kB / 0.7081 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003285/1.115, allocations: 248.3 kB / 0.7084 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00276/1.118, allocations: 1.219 MB / 0.7096 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02715/1.145, allocations: 11.29 MB / 0.7206 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06964/1.215, allocations: 55.86 MB / 0.7751 GB, free: 75.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/1.23, allocations: 5.338 MB / 0.7804 GB, free: 73.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/1.232, allocations: 1.015 MB / 0.7813 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/1.232, allocations: 58.44 kB / 0.7814 GB, free: 72.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=224): time 8.816e-06/1.232, allocations: 2.516 kB / 0.7814 GB, free: 72.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=255): time 0.07099/1.303, allocations: 26.19 MB / 0.807 GB, free: 63.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/1.303, allocations: 157.1 kB / 0.8071 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00778/1.311, allocations: 4.028 MB / 0.8111 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008533/1.312, allocations: 65.08 kB / 0.8111 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002113/1.314, allocations: 3.556 MB / 0.8146 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/1.315, allocations: 0.9477 MB / 0.8155 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/1.315, allocations: 135.7 kB / 0.8156 GB, free: 58.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002828/1.316, allocations: 0.6035 MB / 0.8162 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/1.32, allocations: 3.05 MB / 0.8192 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005866/1.326, allocations: 6.982 MB / 0.826 GB, free: 50.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005905/1.331, allocations: 4.51 MB / 0.8304 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.874e-05/1.332, allocations: 40 kB / 0.8305 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.017/1.349, allocations: 10.9 MB / 0.8411 GB, free: 38.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.058e-05/1.349, allocations: 65 kB / 0.8412 GB, free: 38.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/1.349, allocations: 140 kB / 0.8413 GB, free: 38.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/1.352, allocations: 1.136 MB / 0.8424 GB, free: 37.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006221/1.358, allocations: 1.708 MB / 0.8441 GB, free: 35.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006202/1.364, allocations: 6.041 MB / 0.85 GB, free: 30.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/1.37, allocations: 430.3 kB / 0.8504 GB, free: 30.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.371, allocations: 426 kB / 0.8508 GB, free: 29.92 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 851 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004579/1.376, allocations: 2.427 MB / 0.8532 GB, free: 27.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.377, allocations: 418.6 kB / 0.8536 GB, free: 27.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008834/1.386, allocations: 5.671 MB / 0.8591 GB, free: 22.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-05/1.386, allocations: 28 kB / 0.8591 GB, free: 22.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/1.386, allocations: 4 kB / 0.8591 GB, free: 22.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-05/1.386, allocations: 10.73 kB / 0.8591 GB, free: 22.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/1.406, allocations: 12.37 MB / 0.8712 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.406, allocations: 4 kB / 0.8712 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002588/1.408, allocations: 0.5148 MB / 0.8717 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/1.411, allocations: 0.9442 MB / 0.8727 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000404/1.411, allocations: 48.55 kB / 0.8727 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005993/1.417, allocations: 5.764 MB / 0.8783 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.417, allocations: 3.953 kB / 0.8783 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/1.432, allocations: 9.988 MB / 0.8881 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003809/1.436, allocations: 0.9173 MB / 0.889 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.437, allocations: 40.7 kB / 0.889 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/1.44, allocations: 196.3 kB / 0.8892 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005011/1.44, allocations: 153.7 kB / 0.8894 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/1.441, allocations: 69.08 kB / 0.8894 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006508/1.447, allocations: 2.833 MB / 0.8922 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/1.447, allocations: 0 / 0.8922 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009012/1.456, allocations: 1.268 MB / 0.8934 GB, free: 4.816 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008683/1.457, allocations: 193.7 kB / 0.8936 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2526/1.71, allocations: 7.306 MB / 0.9007 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.71, allocations: 0.5469 kB / 0.9007 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004042/1.714, allocations: 2.781 MB / 0.9035 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.717, allocations: 457.4 kB / 0.9039 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/1.743, allocations: 14.12 MB / 0.9177 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005408/1.749, allocations: 3.909 MB / 0.9215 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006518/1.755, allocations: 2.308 MB / 0.9238 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.757, allocations: 319.5 kB / 0.9241 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.466e-06/1.757, allocations: 0 / 0.9241 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1018/1.859, allocations: 47.68 MB / 0.9706 GB, free: 106.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches