Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007966/0.0007966, allocations: 98.97 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3021/0.3021, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004066, allocations: 4 kB / 459.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3294, allocations: 61.89 MB / 0.5095 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.4473, allocations: 96.37 MB / 0.6037 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4476, allocations: 83.97 kB / 0.6037 GB, free: 14.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5065/0.9541, allocations: 92.08 MB / 0.6937 GB, free: 87.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.9542, allocations: 0 / 0.6937 GB, free: 87.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004614/0.9546, allocations: 100 kB / 0.6938 GB, free: 87.78 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.06351/1.018, allocations: 9.987 MB / 0.7035 GB, free: 85.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/1.018, allocations: 9.719 kB / 0.7035 GB, free: 85.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/1.029, allocations: 2.076 MB / 0.7055 GB, free: 85.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/1.04, allocations: 3.418 MB / 0.7089 GB, free: 84.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004836/1.041, allocations: 344.2 kB / 0.7092 GB, free: 84.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003146/1.044, allocations: 486.6 kB / 0.7097 GB, free: 84.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04673/1.091, allocations: 15.43 MB / 0.7247 GB, free: 81.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003686/1.091, allocations: 61.03 kB / 0.7248 GB, free: 81.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003302/1.094, allocations: 221.8 kB / 0.725 GB, free: 81.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002579/1.097, allocations: 1.113 MB / 0.7261 GB, free: 81.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0369/1.134, allocations: 15.36 MB / 0.7411 GB, free: 77.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07551/1.209, allocations: 55.63 MB / 0.7954 GB, free: 38.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04138/1.251, allocations: 7.236 MB / 0.8025 GB, free: 33.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/1.261, allocations: 6.575 MB / 0.8089 GB, free: 26.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.261, allocations: 51.56 kB / 0.809 GB, free: 26.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 5.911e-06/1.261, allocations: 0 / 0.809 GB, free: 26.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.005476/1.267, allocations: 3.993 MB / 0.8129 GB, free: 22.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.267, allocations: 153.5 kB / 0.813 GB, free: 22.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007965/1.275, allocations: 4.286 MB / 0.8172 GB, free: 18.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/1.275, allocations: 52.42 kB / 0.8172 GB, free: 18.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.277, allocations: 3.595 MB / 0.8208 GB, free: 14.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008015/1.278, allocations: 0.729 MB / 0.8215 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/1.278, allocations: 128 kB / 0.8216 GB, free: 13.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002638/1.279, allocations: 0.5949 MB / 0.8222 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/1.281, allocations: 2.203 MB / 0.8243 GB, free: 10.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004203/1.286, allocations: 6.468 MB / 0.8306 GB, free: 2.223 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005308/1.291, allocations: 3.707 MB / 0.8343 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.291, allocations: 44 kB / 0.8343 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01877/1.31, allocations: 8.477 MB / 0.8426 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/1.31, allocations: 68 kB / 0.8426 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002426/1.31, allocations: 152 kB / 0.8428 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/1.311, allocations: 224 kB / 0.843 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006136/1.317, allocations: 1.626 MB / 0.8446 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002919/1.317, allocations: 294.9 kB / 0.8449 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006834/1.324, allocations: 0.9237 MB / 0.8458 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.325, allocations: 439.9 kB / 0.8462 GB, free: 2.281 MB / 0.4948 GB 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.005579/1.331, allocations: 2.317 MB / 0.8485 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.332, allocations: 406.8 kB / 0.8488 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/1.337, allocations: 2.533 MB / 0.8513 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/1.337, allocations: 20 kB / 0.8513 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.337, allocations: 8 kB / 0.8513 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/1.337, allocations: 7.969 kB / 0.8514 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008194/1.345, allocations: 4.289 MB / 0.8555 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-05/1.345, allocations: 0 / 0.8555 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.347, allocations: 347.5 kB / 0.8559 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.807e-05/1.347, allocations: 8 kB / 0.8559 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.347, allocations: 35.98 kB / 0.8559 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/1.347, allocations: 8 kB / 0.8559 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.347, allocations: 0 / 0.8559 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006582/1.354, allocations: 4.891 MB / 0.8607 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.356, allocations: 0.4954 MB / 0.8612 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006061/1.356, allocations: 36.12 kB / 0.8612 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.358, allocations: 63.14 kB / 0.8613 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/1.358, allocations: 101.2 kB / 0.8614 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.358, allocations: 47.98 kB / 0.8614 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005827/1.364, allocations: 2.996 MB / 0.8643 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.81e-07/1.364, allocations: 0 / 0.8643 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007073/1.371, allocations: 1.351 MB / 0.8657 GB, free: 14.25 MB / 0.5261 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.0005465/1.372, allocations: 178.1 kB / 0.8658 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008089/1.38, allocations: 4.996 MB / 0.8707 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.38, allocations: 4 kB / 0.8707 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.382, allocations: 1.267 MB / 0.872 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/1.385, allocations: 483 kB / 0.8724 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2557/1.64, allocations: 12.47 MB / 0.8846 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003854/1.644, allocations: 3.676 MB / 0.8882 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005208/1.65, allocations: 2.06 MB / 0.8902 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.651, allocations: 313.9 kB / 0.8905 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/1.651, allocations: 3.156 kB / 0.8905 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.07902/1.73, allocations: 40.23 MB / 0.9298 GB, free: 115.6 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches