Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001098/0.001098, allocations: 115.1 kB / 17.09 MB, free: 5.812 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.001163/0.001163, allocations: 190.2 kB / 18.02 MB, free: 4.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2088/0.2088, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 69.3 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1208, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01703/0.1379, allocations: 15.98 MB / 0.5041 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009469/0.1474, allocations: 3.847 MB / 0.5079 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.1509, allocations: 87.75 kB / 0.508 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006055/0.157, allocations: 3.099 MB / 0.511 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005454/0.1625, allocations: 1.812 MB / 0.5128 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.164, allocations: 467.2 kB / 0.5132 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006297/0.1703, allocations: 4.04 MB / 0.5172 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005657/0.176, allocations: 3.604 MB / 0.5207 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.1794, allocations: 1.912 MB / 0.5226 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005663/0.1851, allocations: 3.007 MB / 0.5255 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.187, allocations: 496 kB / 0.526 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.1901, allocations: 0.9171 MB / 0.5269 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003397/0.1935, allocations: 2.252 MB / 0.5291 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3032/0.4967, allocations: 2.801 MB / 0.5318 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01462/0.5113, allocations: 8.726 MB / 0.5403 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.5114, allocations: 0 / 0.5403 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5114, allocations: 0 / 0.5403 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003665/0.5118, allocations: 1.312 kB / 0.5403 GB, free: 10.39 MB / 414.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.08968/0.6015, allocations: 11.26 MB / 0.5513 GB, free: 7.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.6016, allocations: 13.48 kB / 0.5513 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007863/0.6094, allocations: 1.896 MB / 0.5532 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008568/0.618, allocations: 3.286 MB / 0.5564 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/0.6184, allocations: 295.8 kB / 0.5567 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002494/0.6209, allocations: 409.3 kB / 0.5571 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04957/0.6705, allocations: 19.54 MB / 0.5761 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001578/0.6707, allocations: 53.08 kB / 0.5762 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008377/0.6715, allocations: 188 kB / 0.5764 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005349/0.6769, allocations: 2.343 MB / 0.5787 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05452/0.7314, allocations: 22.39 MB / 0.6005 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08974/0.8212, allocations: 52.44 MB / 0.6517 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06622/0.8874, allocations: 9.168 MB / 0.6607 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004445/0.8919, allocations: 3.028 MB / 0.6636 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/0.8939, allocations: 360.8 kB / 0.664 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.518e-05/0.8939, allocations: 55.25 kB / 0.664 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=212): time 8.346e-06/0.894, allocations: 0 / 0.664 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.1337/1.028, allocations: 16.12 MB / 0.6798 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.028, allocations: 156.7 kB / 0.6799 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0127/1.041, allocations: 4.703 MB / 0.6845 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007431/1.041, allocations: 57.7 kB / 0.6846 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003466/1.045, allocations: 3.633 MB / 0.6881 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001689/1.046, allocations: 0.8752 MB / 0.689 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003164/1.05, allocations: 1.549 MB / 0.6905 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.05, allocations: 301.1 kB / 0.6908 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004973/1.055, allocations: 3.175 MB / 0.6939 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008458/1.063, allocations: 7.461 MB / 0.7012 GB, free: 9.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/1.078, allocations: 11.48 MB / 0.7124 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/1.078, allocations: 44 kB / 0.7124 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01977/1.098, allocations: 10.64 MB / 0.7228 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/1.098, allocations: 68 kB / 0.7229 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002464/1.098, allocations: 156 kB / 0.723 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/1.098, allocations: 200 kB / 0.7232 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006625/1.105, allocations: 1.797 MB / 0.725 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003242/1.105, allocations: 306.8 kB / 0.7253 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006802/1.112, allocations: 0.9423 MB / 0.7262 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/1.114, allocations: 0.5213 MB / 0.7267 GB, free: 14.5 MB / 0.5762 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.006234/1.12, allocations: 2.319 MB / 0.729 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.121, allocations: 425.1 kB / 0.7294 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00781/1.129, allocations: 4.857 MB / 0.7341 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.312e-05/1.129, allocations: 11.95 kB / 0.7341 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.129, allocations: 7.938 kB / 0.7341 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.131, allocations: 0.5172 MB / 0.7346 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.132, allocations: 32 kB / 0.7347 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/1.134, allocations: 83.98 kB / 0.7347 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004965/1.135, allocations: 217.5 kB / 0.735 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008163/1.143, allocations: 5.404 MB / 0.7402 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01069/1.154, allocations: 8.782 MB / 0.7488 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002538/1.156, allocations: 2.242 MB / 0.751 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006667/1.163, allocations: 2.954 MB / 0.7539 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of Backend: time 6.71e-07/1.163, allocations: 0 / 0.7539 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2165/1.38, allocations: 5.174 MB / 0.7589 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01987/1.399, allocations: 11.17 MB / 0.7698 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.2113/1.611, allocations: 66.21 MB / 0.8345 GB, free: 158.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches