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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 106.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 75.88 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3706, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01727/0.3879, allocations: 15.95 MB / 0.5351 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.3992, allocations: 3.83 MB / 0.5389 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005146/0.4043, allocations: 89.25 kB / 0.539 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0081/0.4125, allocations: 3.099 MB / 0.542 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007631/0.4202, allocations: 1.824 MB / 0.5438 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.4221, allocations: 451.7 kB / 0.5442 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009125/0.4313, allocations: 4.047 MB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006316/0.4376, allocations: 3.608 MB / 0.5517 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.4415, allocations: 1.916 MB / 0.5536 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005052/0.4466, allocations: 2.995 MB / 0.5565 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.4484, allocations: 496 kB / 0.557 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.4515, allocations: 0.9366 MB / 0.5579 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003368/0.4549, allocations: 2.248 MB / 0.5601 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00554/0.4604, allocations: 2.805 MB / 0.5628 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.4718, allocations: 8.707 MB / 0.5713 GB, free: 6.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.4719, allocations: 4 kB / 0.5713 GB, free: 6.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.4719, allocations: 0 / 0.5713 GB, free: 6.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003327/0.4722, allocations: 7.875 kB / 0.5713 GB, free: 6.84 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.09234/0.5646, allocations: 11.1 MB / 0.5822 GB, free: 11.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.5647, allocations: 12.03 kB / 0.5822 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008642/0.5733, allocations: 1.857 MB / 0.584 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008663/0.582, allocations: 3.321 MB / 0.5872 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.5823, allocations: 291.5 kB / 0.5875 GB, free: 6.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002596/0.5849, allocations: 411.5 kB / 0.5879 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05571/0.6407, allocations: 19.55 MB / 0.607 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002763/0.641, allocations: 51.44 kB / 0.607 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002298/0.6433, allocations: 179.9 kB / 0.6072 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006053/0.6494, allocations: 2.349 MB / 0.6095 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05676/0.7062, allocations: 22.38 MB / 0.6314 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08363/0.7898, allocations: 52.36 MB / 0.6825 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0725/0.8624, allocations: 9.165 MB / 0.6914 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004066/0.8665, allocations: 3.021 MB / 0.6944 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.8683, allocations: 364.6 kB / 0.6947 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.8684, allocations: 59.81 kB / 0.6948 GB, free: 5.961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=212): time 5.701e-06/0.8684, allocations: 0 / 0.6948 GB, free: 5.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=212): time 0.1643/1.033, allocations: 16.1 MB / 0.7105 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.033, allocations: 149.8 kB / 0.7107 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009072/1.042, allocations: 4.694 MB / 0.7152 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000484/1.042, allocations: 57.7 kB / 0.7153 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2659/1.308, allocations: 3.491 MB / 0.7187 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/1.31, allocations: 0.8356 MB / 0.7195 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002754/1.313, allocations: 1.539 MB / 0.721 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/1.313, allocations: 306.8 kB / 0.7213 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005581/1.319, allocations: 3.169 MB / 0.7244 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007781/1.326, allocations: 7.456 MB / 0.7317 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/1.339, allocations: 11.49 MB / 0.7429 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001722/1.339, allocations: 46.53 kB / 0.743 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01475/1.353, allocations: 10.61 MB / 0.7533 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.16e-05/1.354, allocations: 73.38 kB / 0.7534 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/1.354, allocations: 154.3 kB / 0.7535 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/1.354, allocations: 200.6 kB / 0.7537 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005483/1.359, allocations: 1.796 MB / 0.7555 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001645/1.36, allocations: 300.7 kB / 0.7558 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005389/1.365, allocations: 0.9276 MB / 0.7567 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006386/1.366, allocations: 0.508 MB / 0.7572 GB, free: 145.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.003268/1.369, allocations: 2.319 MB / 0.7594 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007921/1.37, allocations: 402.8 kB / 0.7598 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/1.375, allocations: 4.865 MB / 0.7646 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/1.375, allocations: 11.97 kB / 0.7646 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.375, allocations: 3.938 kB / 0.7646 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009178/1.376, allocations: 0.4953 MB / 0.7651 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/1.376, allocations: 36 kB / 0.7651 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.378, allocations: 79.97 kB / 0.7652 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/1.379, allocations: 213.6 kB / 0.7654 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006155/1.385, allocations: 5.396 MB / 0.7707 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007664/1.393, allocations: 8.775 MB / 0.7792 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001899/1.394, allocations: 2.226 MB / 0.7814 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003683/1.398, allocations: 2.954 MB / 0.7843 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/1.398, allocations: 0 / 0.7843 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008102/1.406, allocations: 5.18 MB / 0.7893 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01472/1.421, allocations: 11.01 MB / 0.8001 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1166/1.538, allocations: 66.24 MB / 0.8648 GB, free: 36.28 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches