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.001172/0.001172, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2503/0.2503, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 79.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3943, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01693/0.4113, allocations: 15.91 MB / 0.5465 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.4237, allocations: 3.864 MB / 0.5503 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005517/0.4292, allocations: 87.75 kB / 0.5504 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008133/0.4375, allocations: 3.103 MB / 0.5534 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008577/0.4461, allocations: 1.757 MB / 0.5551 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.4484, allocations: 459.3 kB / 0.5556 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009033/0.4575, allocations: 4.001 MB / 0.5595 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00555/0.4631, allocations: 3.604 MB / 0.563 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.4665, allocations: 1.904 MB / 0.5648 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006711/0.4732, allocations: 2.999 MB / 0.5678 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002559/0.4758, allocations: 500 kB / 0.5683 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.4801, allocations: 0.9403 MB / 0.5692 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005016/0.4852, allocations: 2.229 MB / 0.5713 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008422/0.4937, allocations: 2.785 MB / 0.5741 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.5102, allocations: 8.66 MB / 0.5825 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.5102, allocations: 3.984 kB / 0.5825 GB, free: 12.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5102, allocations: 0 / 0.5825 GB, free: 12.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003038/0.5105, allocations: 0 / 0.5825 GB, free: 12.72 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.09228/0.6028, allocations: 11.18 MB / 0.5934 GB, free: 1.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6029, allocations: 12.03 kB / 0.5935 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008662/0.6116, allocations: 1.861 MB / 0.5953 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008066/0.6197, allocations: 3.317 MB / 0.5985 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/0.6201, allocations: 287.6 kB / 0.5988 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002936/0.623, allocations: 419.5 kB / 0.5992 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06131/0.6843, allocations: 19.54 MB / 0.6183 GB, free: 7.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002998/0.6847, allocations: 51.44 kB / 0.6183 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002837/0.6875, allocations: 183.8 kB / 0.6185 GB, free: 7.016 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006642/0.6942, allocations: 2.342 MB / 0.6208 GB, free: 4.668 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05746/0.7517, allocations: 22.4 MB / 0.6427 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08289/0.8346, allocations: 52.36 MB / 0.6938 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08309/0.9178, allocations: 9.161 MB / 0.7027 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004299/0.9221, allocations: 3.02 MB / 0.7057 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/0.9241, allocations: 360.6 kB / 0.706 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.9242, allocations: 55.81 kB / 0.7061 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=212): time 5.741e-06/0.9242, allocations: 0 / 0.7061 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.4534/1.378, allocations: 16.09 MB / 0.7218 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/1.378, allocations: 148.6 kB / 0.7219 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00746/1.385, allocations: 4.697 MB / 0.7265 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005744/1.386, allocations: 57.2 kB / 0.7266 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/1.388, allocations: 3.49 MB / 0.73 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.389, allocations: 0.836 MB / 0.7308 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/1.39, allocations: 1.541 MB / 0.7323 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/1.39, allocations: 304.9 kB / 0.7326 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/1.394, allocations: 3.169 MB / 0.7357 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/1.399, allocations: 7.462 MB / 0.743 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009988/1.409, allocations: 11.49 MB / 0.7542 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/1.409, allocations: 44 kB / 0.7542 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01674/1.426, allocations: 10.62 MB / 0.7646 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/1.426, allocations: 72 kB / 0.7647 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002309/1.427, allocations: 152 kB / 0.7648 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/1.427, allocations: 200 kB / 0.765 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/1.433, allocations: 1.797 MB / 0.7668 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000189/1.433, allocations: 299.4 kB / 0.7671 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006249/1.439, allocations: 0.924 MB / 0.768 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/1.441, allocations: 0.5154 MB / 0.7685 GB, free: 126.9 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.004333/1.445, allocations: 2.309 MB / 0.7707 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.447, allocations: 406.7 kB / 0.7711 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006395/1.453, allocations: 4.862 MB / 0.7759 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.166e-05/1.453, allocations: 27.91 kB / 0.7759 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/1.453, allocations: 4 kB / 0.7759 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/1.453, allocations: 15.95 kB / 0.7759 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/1.474, allocations: 11.51 MB / 0.7871 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/1.474, allocations: 12.03 kB / 0.7872 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/1.477, allocations: 0.5967 MB / 0.7877 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.276e-05/1.477, allocations: 19.94 kB / 0.7878 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004135/1.478, allocations: 147.8 kB / 0.7879 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.176e-05/1.478, allocations: 19.94 kB / 0.7879 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.478, allocations: 11.94 kB / 0.7879 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008853/1.487, allocations: 8.902 MB / 0.7966 GB, free: 97.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/1.488, allocations: 0.5148 MB / 0.7971 GB, free: 97.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.489, allocations: 44 kB / 0.7972 GB, free: 97.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/1.492, allocations: 87.91 kB / 0.7972 GB, free: 97.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004308/1.493, allocations: 236.7 kB / 0.7975 GB, free: 96.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003219/1.493, allocations: 167.7 kB / 0.7976 GB, free: 96.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005588/1.499, allocations: 2.95 MB / 0.8005 GB, free: 93.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.81e-07/1.499, allocations: 0 / 0.8005 GB, free: 93.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007027/1.506, allocations: 1.357 MB / 0.8018 GB, free: 92.45 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.0006977/1.506, allocations: 181.8 kB / 0.802 GB, free: 92.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009447/1.516, allocations: 7.125 MB / 0.809 GB, free: 85.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.516, allocations: 448 / 0.809 GB, free: 85.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002758/1.519, allocations: 2.452 MB / 0.8114 GB, free: 82.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005183/1.524, allocations: 0.5593 MB / 0.8119 GB, free: 82.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/1.547, allocations: 11.95 MB / 0.8236 GB, free: 70.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006375/1.553, allocations: 3.592 MB / 0.8271 GB, free: 66.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006368/1.56, allocations: 2.302 MB / 0.8293 GB, free: 64.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/1.562, allocations: 0.5847 MB / 0.8299 GB, free: 63.61 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/1.562, allocations: 4 kB / 0.8299 GB, free: 63.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.1054/1.667, allocations: 56.26 MB / 0.8849 GB, free: 7.574 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