Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009357/0.0009357, allocations: 175.8 kB / 16.76 MB, free: 4.926 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.388/1.388, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007961/0.0007964, allocations: 92.95 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4391/0.4391, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004971, allocations: 11.98 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1394, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.487, allocations: 95.04 MB / 0.5728 GB, free: 6.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.4874, allocations: 83.95 kB / 0.5728 GB, free: 6.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2474/0.7348, allocations: 89.93 MB / 0.6607 GB, free: 12.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.7348, allocations: 0 / 0.6607 GB, free: 12.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000452/0.7353, allocations: 95.98 kB / 0.6608 GB, free: 12.23 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.08332/0.8186, allocations: 9.624 MB / 0.6702 GB, free: 2.527 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.8187, allocations: 12.03 kB / 0.6702 GB, free: 2.516 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.8317, allocations: 2.068 MB / 0.6722 GB, free: 448 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2647/1.096, allocations: 3.468 MB / 0.6756 GB, free: 82.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005823/1.097, allocations: 349.9 kB / 0.6759 GB, free: 82.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003969/1.101, allocations: 481.8 kB / 0.6764 GB, free: 82.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04551/1.147, allocations: 15.47 MB / 0.6915 GB, free: 79.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002949/1.147, allocations: 70.44 kB / 0.6915 GB, free: 79.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001839/1.149, allocations: 218.5 kB / 0.6918 GB, free: 79.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002152/1.151, allocations: 1.122 MB / 0.6928 GB, free: 79.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0362/1.187, allocations: 15.35 MB / 0.7078 GB, free: 79.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07441/1.262, allocations: 55.65 MB / 0.7622 GB, free: 42.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03667/1.298, allocations: 7.23 MB / 0.7692 GB, free: 40.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00373/1.302, allocations: 2.837 MB / 0.772 GB, free: 39.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/1.313, allocations: 6.569 MB / 0.7784 GB, free: 35.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/1.313, allocations: 53.16 kB / 0.7785 GB, free: 35.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 5.491e-06/1.313, allocations: 3.406 kB / 0.7785 GB, free: 35.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.005772/1.319, allocations: 3.738 MB / 0.7821 GB, free: 33.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.319, allocations: 151.5 kB / 0.7823 GB, free: 33.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00867/1.327, allocations: 4.791 MB / 0.787 GB, free: 31.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003308/1.328, allocations: 52.11 kB / 0.787 GB, free: 31.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002117/1.33, allocations: 3.59 MB / 0.7905 GB, free: 28.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000903/1.331, allocations: 0.7246 MB / 0.7912 GB, free: 28.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/1.331, allocations: 138.8 kB / 0.7914 GB, free: 28.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003169/1.331, allocations: 0.5912 MB / 0.7919 GB, free: 27.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/1.334, allocations: 2.203 MB / 0.7941 GB, free: 27.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/1.339, allocations: 6.494 MB / 0.8004 GB, free: 20.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009084/1.348, allocations: 9.44 MB / 0.8096 GB, free: 12.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/1.348, allocations: 43.91 kB / 0.8097 GB, free: 12.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01525/1.363, allocations: 8.471 MB / 0.818 GB, free: 8.938 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/1.364, allocations: 67.41 kB / 0.818 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002527/1.364, allocations: 152 kB / 0.8182 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/1.364, allocations: 201.3 kB / 0.8184 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005423/1.369, allocations: 1.619 MB / 0.8199 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002483/1.37, allocations: 301.7 kB / 0.8202 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006107/1.376, allocations: 0.9298 MB / 0.8211 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/1.377, allocations: 436.2 kB / 0.8216 GB, free: 5.961 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (849): * Single equations (assignments): 846 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006119/1.383, allocations: 2.316 MB / 0.8238 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.385, allocations: 398.8 kB / 0.8242 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004527/1.389, allocations: 2.531 MB / 0.8267 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/1.389, allocations: 20 kB / 0.8267 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.389, allocations: 4 kB / 0.8267 GB, free: 1.402 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/1.389, allocations: 19.05 kB / 0.8267 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009704/1.399, allocations: 4.289 MB / 0.8309 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/1.399, allocations: 0 / 0.8309 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/1.401, allocations: 345.4 kB / 0.8312 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/1.401, allocations: 14.66 kB / 0.8312 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/1.401, allocations: 35.8 kB / 0.8313 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/1.401, allocations: 8 kB / 0.8313 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.401, allocations: 0 / 0.8313 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006917/1.408, allocations: 4.807 MB / 0.836 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.41, allocations: 0.4897 MB / 0.8365 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/1.41, allocations: 32 kB / 0.8365 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.412, allocations: 63.69 kB / 0.8365 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/1.412, allocations: 96.84 kB / 0.8366 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.412, allocations: 55.47 kB / 0.8367 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005488/1.418, allocations: 3.001 MB / 0.8396 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.51e-07/1.418, allocations: 0 / 0.8396 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006943/1.425, allocations: 1.343 MB / 0.8409 GB, free: 4.926 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005257/1.425, allocations: 177 kB / 0.8411 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008631/1.434, allocations: 4.995 MB / 0.846 GB, free: 452 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.434, allocations: 4.062 kB / 0.846 GB, free: 448 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003779/1.438, allocations: 1.432 MB / 0.8474 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/1.441, allocations: 0.4906 MB / 0.8479 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/1.463, allocations: 12.51 MB / 0.8601 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2514/1.715, allocations: 3.568 MB / 0.8636 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007381/1.722, allocations: 2.056 MB / 0.8656 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.723, allocations: 317.5 kB / 0.8659 GB, free: 100 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/1.723, allocations: 0 / 0.8659 GB, free: 100 MB / 0.5105 GB Notification: Performance of Templates: time 0.08278/1.806, allocations: 40.35 MB / 0.9053 GB, free: 98.25 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches