Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 108.8 kB / 17.78 MB, free: 5.281 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.00127/0.00127, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2133/0.2133, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3538, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01438/0.3682, allocations: 11.17 MB / 0.5298 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00963/0.3779, allocations: 3.811 MB / 0.5335 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.3802, allocations: 61.62 kB / 0.5336 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005178/0.3854, allocations: 2.697 MB / 0.5362 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.3906, allocations: 1.805 MB / 0.538 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.3923, allocations: 0.6859 MB / 0.5387 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00513/0.3974, allocations: 3.595 MB / 0.5422 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004451/0.4019, allocations: 3.72 MB / 0.5458 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.4044, allocations: 1.484 MB / 0.5473 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.4074, allocations: 2.009 MB / 0.5492 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008786/0.4083, allocations: 324 kB / 0.5495 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.411, allocations: 1.073 MB / 0.5506 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001644/0.4127, allocations: 1.831 MB / 0.5524 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.4149, allocations: 2.136 MB / 0.5544 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00825/0.4232, allocations: 6.852 MB / 0.5611 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4232, allocations: 0 / 0.5611 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4232, allocations: 0 / 0.5611 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002361/0.4235, allocations: 0 / 0.5611 GB, free: 0.6562 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01811/0.4416, allocations: 5.259 MB / 0.5663 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4417, allocations: 15.91 kB / 0.5663 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007349/0.449, allocations: 1.874 MB / 0.5681 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005057/0.4541, allocations: 2.3 MB / 0.5704 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.4544, allocations: 225.8 kB / 0.5706 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.4555, allocations: 311.8 kB / 0.5709 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/0.4764, allocations: 10.22 MB / 0.5809 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001899/0.4767, allocations: 43.64 kB / 0.5809 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/0.4778, allocations: 147.9 kB / 0.581 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003384/0.4812, allocations: 1.868 MB / 0.5829 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/0.5005, allocations: 9.187 MB / 0.5918 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05229/0.5529, allocations: 37.54 MB / 0.6285 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.5659, allocations: 3.721 MB / 0.6321 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/0.5684, allocations: 1.706 MB / 0.6338 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009459/0.5693, allocations: 0.6824 MB / 0.6345 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.5694, allocations: 47.06 kB / 0.6345 GB, free: 3.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 6.302e-06/0.5694, allocations: 3.984 kB / 0.6345 GB, free: 3.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.04578/0.6152, allocations: 13.17 MB / 0.6474 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.6153, allocations: 145.1 kB / 0.6475 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006911/0.6222, allocations: 3.98 MB / 0.6514 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003642/0.6226, allocations: 45.7 kB / 0.6514 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002543/0.6252, allocations: 3.12 MB / 0.6545 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009128/0.6261, allocations: 0.578 MB / 0.6551 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002544/0.6287, allocations: 1.158 MB / 0.6562 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6288, allocations: 309.1 kB / 0.6565 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/0.6319, allocations: 1.939 MB / 0.6584 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005425/0.6373, allocations: 5.516 MB / 0.6638 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0093/0.6466, allocations: 8.084 MB / 0.6717 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/0.6468, allocations: 40 kB / 0.6717 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01557/0.6624, allocations: 7.967 MB / 0.6795 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.6626, allocations: 63.94 kB / 0.6795 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002093/0.6628, allocations: 128 kB / 0.6797 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.6655, allocations: 0.9062 MB / 0.6805 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0047/0.6702, allocations: 1.283 MB / 0.6818 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007512/0.6777, allocations: 5.186 MB / 0.6869 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/0.6822, allocations: 303.8 kB / 0.6871 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/0.6832, allocations: 363.9 kB / 0.6875 GB, free: 9.176 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 680 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004331/0.6876, allocations: 1.994 MB / 0.6894 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008596/0.6884, allocations: 353.6 kB / 0.6898 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005791/0.6942, allocations: 2.782 MB / 0.6925 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/0.6943, allocations: 16 kB / 0.6925 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.6943, allocations: 4 kB / 0.6925 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.6943, allocations: 11.92 kB / 0.6925 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.7095, allocations: 7.229 MB / 0.6996 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.7095, allocations: 4 kB / 0.6996 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.7108, allocations: 243.6 kB / 0.6998 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.7132, allocations: 0.7187 MB / 0.7005 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002465/0.7135, allocations: 31.98 kB / 0.7006 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006497/0.72, allocations: 4.762 MB / 0.7052 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.72, allocations: 7.969 kB / 0.7052 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008647/0.7287, allocations: 5.141 MB / 0.7102 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.73, allocations: 406.6 kB / 0.7106 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008731/0.7308, allocations: 27.98 kB / 0.7106 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.7326, allocations: 83.89 kB / 0.7107 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.733, allocations: 88.47 kB / 0.7108 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.7332, allocations: 51.91 kB / 0.7109 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005063/0.7383, allocations: 2.489 MB / 0.7133 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7383, allocations: 0 / 0.7133 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005632/0.7439, allocations: 0.9022 MB / 0.7142 GB, free: 13.56 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005372/0.7445, allocations: 151 kB / 0.7143 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00772/0.7522, allocations: 4.624 MB / 0.7188 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.7522, allocations: 0 / 0.7188 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.7543, allocations: 1.361 MB / 0.7202 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/0.7576, allocations: 447.1 kB / 0.7206 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2833/1.041, allocations: 8.537 MB / 0.7289 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003387/1.044, allocations: 3.113 MB / 0.732 GB, free: 181.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003618/1.048, allocations: 1.793 MB / 0.7337 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/1.049, allocations: 253.3 kB / 0.734 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/1.049, allocations: 0 / 0.734 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.05579/1.104, allocations: 32.22 MB / 0.7654 GB, free: 163.4 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches