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.001492/0.001493, allocations: 111.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 207.9 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 79.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2947, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01681/0.3116, allocations: 15.92 MB / 0.5472 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008927/0.3206, allocations: 3.862 MB / 0.551 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.3236, allocations: 87.75 kB / 0.5511 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006143/0.3297, allocations: 3.11 MB / 0.5541 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004718/0.3345, allocations: 1.748 MB / 0.5558 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3357, allocations: 459.3 kB / 0.5562 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00522/0.3409, allocations: 3.994 MB / 0.5601 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004637/0.3455, allocations: 3.604 MB / 0.5637 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.3483, allocations: 1.908 MB / 0.5655 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004344/0.3527, allocations: 2.995 MB / 0.5684 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.354, allocations: 496 kB / 0.5689 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.3564, allocations: 0.9444 MB / 0.5698 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.3588, allocations: 2.229 MB / 0.572 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003934/0.3628, allocations: 2.774 MB / 0.5747 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009646/0.3725, allocations: 8.672 MB / 0.5832 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3725, allocations: 0 / 0.5832 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3725, allocations: 0 / 0.5832 GB, free: 12.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002706/0.3728, allocations: 0 / 0.5832 GB, free: 12.75 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.08314/0.4559, allocations: 11.19 MB / 0.5941 GB, free: 1.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.456, allocations: 8.031 kB / 0.5941 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007073/0.4631, allocations: 1.853 MB / 0.5959 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00652/0.4696, allocations: 3.321 MB / 0.5992 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.4699, allocations: 291.6 kB / 0.5995 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002653/0.4725, allocations: 411.5 kB / 0.5998 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0496/0.5222, allocations: 19.55 MB / 0.6189 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001868/0.5224, allocations: 59.41 kB / 0.619 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/0.5239, allocations: 187.8 kB / 0.6192 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00544/0.5293, allocations: 2.345 MB / 0.6215 GB, free: 4.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05284/0.5822, allocations: 22.39 MB / 0.6433 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07618/0.6584, allocations: 52.36 MB / 0.6945 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06852/0.727, allocations: 9.165 MB / 0.7034 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004095/0.7311, allocations: 3.013 MB / 0.7064 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.7329, allocations: 364.6 kB / 0.7067 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.733, allocations: 55.81 kB / 0.7068 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=212): time 5.259e-06/0.733, allocations: 0 / 0.7068 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.3679/1.101, allocations: 16.09 MB / 0.7225 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/1.101, allocations: 151.3 kB / 0.7226 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006092/1.107, allocations: 4.69 MB / 0.7272 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003829/1.107, allocations: 52.98 kB / 0.7272 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/1.109, allocations: 3.494 MB / 0.7307 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006216/1.11, allocations: 0.8356 MB / 0.7315 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/1.111, allocations: 1.541 MB / 0.733 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.499e-05/1.111, allocations: 301.1 kB / 0.7333 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002998/1.114, allocations: 3.17 MB / 0.7364 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004166/1.118, allocations: 7.461 MB / 0.7436 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008697/1.127, allocations: 11.49 MB / 0.7549 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-05/1.127, allocations: 51.69 kB / 0.7549 GB, free: 141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01223/1.139, allocations: 10.61 MB / 0.7653 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/1.139, allocations: 68 kB / 0.7653 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/1.139, allocations: 152.9 kB / 0.7655 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/1.139, allocations: 200 kB / 0.7657 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005138/1.145, allocations: 1.801 MB / 0.7674 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000138/1.145, allocations: 294.9 kB / 0.7677 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/1.149, allocations: 0.9279 MB / 0.7686 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/1.15, allocations: 0.5076 MB / 0.7691 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.002492/1.152, allocations: 2.324 MB / 0.7714 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006178/1.153, allocations: 402.7 kB / 0.7718 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004836/1.158, allocations: 4.865 MB / 0.7765 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/1.158, allocations: 11.34 kB / 0.7765 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.158, allocations: 0 / 0.7765 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006307/1.159, allocations: 0.4953 MB / 0.777 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004805/1.159, allocations: 36.66 kB / 0.7771 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.161, allocations: 83.97 kB / 0.7771 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/1.161, allocations: 209.6 kB / 0.7773 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005845/1.167, allocations: 5.408 MB / 0.7826 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007123/1.174, allocations: 8.766 MB / 0.7912 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001798/1.176, allocations: 2.221 MB / 0.7933 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003149/1.179, allocations: 2.954 MB / 0.7962 GB, free: 99.13 MB / 0.5606 GB Notification: Performance of Backend: time 3.2e-07/1.179, allocations: 0 / 0.7962 GB, free: 99.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007025/1.186, allocations: 5.183 MB / 0.8013 GB, free: 93.99 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01229/1.198, allocations: 11.01 MB / 0.812 GB, free: 82.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.1029/1.301, allocations: 66.42 MB / 0.8769 GB, free: 16.84 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/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_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches