Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.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_trunk_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_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 95.53 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001507/0.001507, allocations: 200.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.2 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 45.91 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003807, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 63.46 MB / 481.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.332/0.4851, allocations: 73.55 MB / 0.5419 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03993/0.5251, allocations: 15.7 MB / 0.5572 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01669/0.5418, allocations: 360.8 kB / 0.5576 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01334/0.5552, allocations: 3.657 MB / 0.5612 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03582/0.5911, allocations: 10.28 MB / 0.5712 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.5956, allocations: 479.5 kB / 0.5717 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005367/0.601, allocations: 2.416 MB / 0.574 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007744/0.6088, allocations: 4.502 MB / 0.5784 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.6114, allocations: 1.187 MB / 0.5796 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003321/0.6147, allocations: 1.994 MB / 0.5815 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.6158, allocations: 188 kB / 0.5817 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.6177, allocations: 0.5852 MB / 0.5823 GB, free: 188 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002243/0.6199, allocations: 1.73 MB / 0.584 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.6216, allocations: 0.9946 MB / 0.5849 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007997/0.6296, allocations: 6.743 MB / 0.5915 GB, free: 6.688 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6297, allocations: 0 / 0.5915 GB, free: 6.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.6297, allocations: 0 / 0.5915 GB, free: 6.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004338/0.6301, allocations: 0 / 0.5915 GB, free: 6.688 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.08035/0.7105, allocations: 9.771 MB / 0.6011 GB, free: 12.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.7106, allocations: 12.56 kB / 0.6011 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009278/0.7198, allocations: 2.185 MB / 0.6032 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008107/0.728, allocations: 3.155 MB / 0.6063 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.7283, allocations: 291.6 kB / 0.6066 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00245/0.7308, allocations: 407.6 kB / 0.607 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05205/0.7828, allocations: 19.53 MB / 0.626 GB, free: 2.484 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001877/0.7831, allocations: 59.42 kB / 0.6261 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/0.7843, allocations: 183.8 kB / 0.6263 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005559/0.7899, allocations: 2.342 MB / 0.6285 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0532/0.8431, allocations: 22.39 MB / 0.6504 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08758/0.9307, allocations: 52.45 MB / 0.7016 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3668/1.298, allocations: 9.179 MB / 0.7106 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001792/1.299, allocations: 347.2 kB / 0.7109 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/1.3, allocations: 55.97 kB / 0.711 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 5.12e-06/1.3, allocations: 3.781 kB / 0.711 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.1293/1.429, allocations: 16.37 MB / 0.727 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/1.429, allocations: 148.3 kB / 0.7271 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006191/1.435, allocations: 4.675 MB / 0.7317 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006134/1.436, allocations: 58.38 kB / 0.7317 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.438, allocations: 3.491 MB / 0.7351 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001087/1.439, allocations: 0.8342 MB / 0.736 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/1.439, allocations: 135.1 kB / 0.7361 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002791/1.44, allocations: 0.5863 MB / 0.7367 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003367/1.443, allocations: 3.144 MB / 0.7397 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/1.448, allocations: 7.413 MB / 0.747 GB, free: 163 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005147/1.453, allocations: 4.702 MB / 0.7516 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.8e-05/1.453, allocations: 44 kB / 0.7516 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01524/1.469, allocations: 10.55 MB / 0.7619 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/1.469, allocations: 68 kB / 0.762 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/1.469, allocations: 152.5 kB / 0.7621 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/1.469, allocations: 224 kB / 0.7623 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005469/1.475, allocations: 1.797 MB / 0.7641 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001855/1.475, allocations: 306.8 kB / 0.7644 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006129/1.481, allocations: 0.9201 MB / 0.7653 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008466/1.482, allocations: 0.5115 MB / 0.7658 GB, free: 143.9 MB / 0.5294 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 (855): * Single equations (assignments): 852 * 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.004107/1.486, allocations: 2.316 MB / 0.768 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008315/1.487, allocations: 402.8 kB / 0.7684 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/1.492, allocations: 4.858 MB / 0.7732 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.172e-05/1.492, allocations: 28.78 kB / 0.7732 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/1.492, allocations: 3.953 kB / 0.7732 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/1.492, allocations: 17.64 kB / 0.7732 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.507, allocations: 11.51 MB / 0.7844 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/1.507, allocations: 11.94 kB / 0.7845 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/1.509, allocations: 0.6006 MB / 0.785 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.007e-05/1.509, allocations: 16 kB / 0.7851 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/1.509, allocations: 147.8 kB / 0.7852 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.538e-05/1.51, allocations: 16.81 kB / 0.7852 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.51, allocations: 15.94 kB / 0.7852 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008156/1.518, allocations: 9.835 MB / 0.7948 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.519, allocations: 0.5109 MB / 0.7953 GB, free: 113 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005983/1.52, allocations: 48.86 kB / 0.7954 GB, free: 113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.521, allocations: 87.97 kB / 0.7955 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/1.522, allocations: 240.9 kB / 0.7957 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.522, allocations: 161.5 kB / 0.7959 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003982/1.526, allocations: 2.927 MB / 0.7987 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.526, allocations: 0 / 0.7987 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006042/1.532, allocations: 1.375 MB / 0.8001 GB, free: 108.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (208): * Single equations (assignments): 205 * 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.0005152/1.533, allocations: 193.7 kB / 0.8002 GB, free: 108 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008574/1.541, allocations: 7.052 MB / 0.8071 GB, free: 101 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.541, allocations: 4 kB / 0.8071 GB, free: 101 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002535/1.544, allocations: 2.439 MB / 0.8095 GB, free: 98.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/1.547, allocations: 0.4957 MB / 0.81 GB, free: 98.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.567, allocations: 14.09 MB / 0.8238 GB, free: 83.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/1.57, allocations: 3.69 MB / 0.8274 GB, free: 80.13 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005796/1.576, allocations: 2.306 MB / 0.8296 GB, free: 77.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/1.577, allocations: 0.5886 MB / 0.8302 GB, free: 77.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/1.577, allocations: 0 / 0.8302 GB, free: 77.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.105/1.682, allocations: 56.42 MB / 0.8853 GB, free: 20.97 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches