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.00155/0.00155, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 71.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4123, allocations: 62.44 MB / 0.531 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01738/0.4297, allocations: 15.91 MB / 0.5465 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.44, allocations: 3.862 MB / 0.5503 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003986/0.4441, allocations: 91.75 kB / 0.5504 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006751/0.4509, allocations: 3.099 MB / 0.5534 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00699/0.458, allocations: 1.749 MB / 0.5551 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.4596, allocations: 459.2 kB / 0.5555 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006518/0.4662, allocations: 4.005 MB / 0.5595 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004345/0.4705, allocations: 3.604 MB / 0.563 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.4735, allocations: 1.884 MB / 0.5648 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004386/0.4779, allocations: 2.991 MB / 0.5677 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.479, allocations: 496 kB / 0.5682 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.4811, allocations: 0.9483 MB / 0.5691 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.4832, allocations: 2.229 MB / 0.5713 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00304/0.4862, allocations: 2.774 MB / 0.574 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00906/0.4953, allocations: 8.702 MB / 0.5825 GB, free: 12.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.4953, allocations: 3.938 kB / 0.5825 GB, free: 12.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4953, allocations: 0 / 0.5825 GB, free: 12.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000362/0.4957, allocations: 0 / 0.5825 GB, free: 12.85 MB / 446.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.08885/0.5846, allocations: 11.33 MB / 0.5936 GB, free: 1.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/0.5847, allocations: 12.03 kB / 0.5936 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00893/0.5936, allocations: 1.892 MB / 0.5954 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008043/0.6017, allocations: 3.338 MB / 0.5987 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/0.6021, allocations: 291.5 kB / 0.599 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/0.6048, allocations: 411.7 kB / 0.5994 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05799/0.6629, allocations: 19.55 MB / 0.6185 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002832/0.6632, allocations: 47.58 kB / 0.6185 GB, free: 7.125 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002375/0.6656, allocations: 183.9 kB / 0.6187 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006409/0.672, allocations: 2.345 MB / 0.621 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05777/0.7298, allocations: 22.39 MB / 0.6428 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08923/0.8191, allocations: 52.47 MB / 0.6941 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06834/0.8875, allocations: 9.159 MB / 0.703 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004828/0.8923, allocations: 3.024 MB / 0.706 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/0.8942, allocations: 360.5 kB / 0.7063 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.8943, allocations: 55.88 kB / 0.7064 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=212): time 1.118e-05/0.8943, allocations: 3.984 kB / 0.7064 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.4442/1.339, allocations: 16.11 MB / 0.7221 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/1.339, allocations: 150.7 kB / 0.7223 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01334/1.352, allocations: 4.704 MB / 0.7268 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008688/1.353, allocations: 56.48 kB / 0.7269 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002401/1.355, allocations: 3.624 MB / 0.7304 GB, free: 160 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.356, allocations: 0.8773 MB / 0.7313 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001714/1.358, allocations: 1.549 MB / 0.7328 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/1.358, allocations: 309 kB / 0.7331 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/1.361, allocations: 3.168 MB / 0.7362 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004881/1.366, allocations: 7.465 MB / 0.7435 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009877/1.376, allocations: 11.48 MB / 0.7547 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/1.376, allocations: 44 kB / 0.7547 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01667/1.393, allocations: 10.63 MB / 0.7651 GB, free: 131 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.509e-05/1.393, allocations: 68 kB / 0.7652 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/1.393, allocations: 152 kB / 0.7653 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/1.394, allocations: 200 kB / 0.7655 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005596/1.399, allocations: 1.802 MB / 0.7673 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001552/1.399, allocations: 298.8 kB / 0.7676 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006728/1.406, allocations: 0.9538 MB / 0.7685 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/1.407, allocations: 0.5076 MB / 0.769 GB, free: 127.1 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004205/1.412, allocations: 2.309 MB / 0.7713 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.413, allocations: 429.1 kB / 0.7717 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006401/1.419, allocations: 4.865 MB / 0.7764 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.097e-05/1.419, allocations: 31.94 kB / 0.7764 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.028e-05/1.419, allocations: 0 / 0.7764 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.934e-05/1.419, allocations: 7.969 kB / 0.7765 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/1.439, allocations: 11.53 MB / 0.7877 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/1.439, allocations: 8.875 kB / 0.7877 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002797/1.442, allocations: 0.6006 MB / 0.7883 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.242e-05/1.442, allocations: 19.94 kB / 0.7883 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004562/1.442, allocations: 143.8 kB / 0.7885 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.413e-05/1.442, allocations: 16 kB / 0.7885 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.442, allocations: 11.94 kB / 0.7885 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00938/1.452, allocations: 8.931 MB / 0.7972 GB, free: 97.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.453, allocations: 0.5235 MB / 0.7977 GB, free: 97.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.454, allocations: 51.44 kB / 0.7978 GB, free: 97.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.457, allocations: 87.91 kB / 0.7979 GB, free: 97.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004334/1.458, allocations: 240.7 kB / 0.7981 GB, free: 97.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003474/1.458, allocations: 167.7 kB / 0.7982 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005172/1.463, allocations: 2.946 MB / 0.8011 GB, free: 93.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.463, allocations: 4 kB / 0.8011 GB, free: 93.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007866/1.471, allocations: 1.364 MB / 0.8025 GB, free: 92.55 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008709/1.472, allocations: 190.2 kB / 0.8026 GB, free: 92.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.482, allocations: 7.124 MB / 0.8096 GB, free: 85.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/1.482, allocations: 4.062 kB / 0.8096 GB, free: 85.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003011/1.485, allocations: 2.438 MB / 0.812 GB, free: 82.83 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005319/1.491, allocations: 0.5655 MB / 0.8125 GB, free: 82.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/1.513, allocations: 12.12 MB / 0.8244 GB, free: 70.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007255/1.521, allocations: 3.588 MB / 0.8279 GB, free: 66.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007113/1.528, allocations: 2.306 MB / 0.8301 GB, free: 64.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/1.53, allocations: 0.5886 MB / 0.8307 GB, free: 63.51 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.53, allocations: 0 / 0.8307 GB, free: 63.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.1081/1.638, allocations: 56.26 MB / 0.8856 GB, free: 7.484 MB / 0.5606 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches