Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3858, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01411/0.4, allocations: 13.03 MB / 0.5437 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.4112, allocations: 4.275 MB / 0.5479 GB, free: 4 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004505/0.4158, allocations: 82.7 kB / 0.548 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007896/0.4238, allocations: 3.709 MB / 0.5516 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008094/0.4319, allocations: 1.972 MB / 0.5535 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.4349, allocations: 0.8187 MB / 0.5543 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007179/0.4421, allocations: 4.225 MB / 0.5584 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006364/0.4485, allocations: 4.832 MB / 0.5632 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003782/0.4523, allocations: 1.854 MB / 0.565 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004026/0.4564, allocations: 2.461 MB / 0.5674 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009108/0.4573, allocations: 416 kB / 0.5678 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.4598, allocations: 1.131 MB / 0.5689 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.4623, allocations: 2.182 MB / 0.571 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00291/0.4652, allocations: 2.598 MB / 0.5735 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.4769, allocations: 8.113 MB / 0.5815 GB, free: 13.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.4769, allocations: 0 / 0.5815 GB, free: 13.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.4769, allocations: 0 / 0.5815 GB, free: 13.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003131/0.4773, allocations: 3.938 kB / 0.5815 GB, free: 13.83 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02151/0.4988, allocations: 6.351 MB / 0.5877 GB, free: 7.402 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4988, allocations: 8.031 kB / 0.5877 GB, free: 7.395 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006659/0.5055, allocations: 1.994 MB / 0.5896 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005117/0.5106, allocations: 2.7 MB / 0.5923 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.5109, allocations: 287.5 kB / 0.5925 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009167/0.5118, allocations: 399.7 kB / 0.5929 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02124/0.5331, allocations: 12.19 MB / 0.6048 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.5332, allocations: 43.64 kB / 0.6049 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/0.5337, allocations: 183.8 kB / 0.605 GB, free: 4.828 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003932/0.5376, allocations: 2.194 MB / 0.6072 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02178/0.5594, allocations: 11.21 MB / 0.6181 GB, free: 7.414 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05683/0.6163, allocations: 45.96 MB / 0.663 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/0.634, allocations: 5.477 MB / 0.6684 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004528/0.6386, allocations: 3.454 MB / 0.6717 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.6396, allocations: 0.7027 MB / 0.6724 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.522e-05/0.6397, allocations: 51.88 kB / 0.6725 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 5.26e-06/0.6397, allocations: 0 / 0.6725 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.07449/0.7142, allocations: 27.55 MB / 0.6994 GB, free: 2.711 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.7143, allocations: 154.5 kB / 0.6995 GB, free: 2.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00615/0.7205, allocations: 4.415 MB / 0.7038 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005407/0.7211, allocations: 57.7 kB / 0.7039 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002353/0.7234, allocations: 3.52 MB / 0.7073 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.7247, allocations: 0.9263 MB / 0.7082 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/0.7266, allocations: 1.423 MB / 0.7096 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7267, allocations: 305.1 kB / 0.7099 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004551/0.7313, allocations: 3.28 MB / 0.7131 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3121/1.043, allocations: 7.075 MB / 0.72 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/1.058, allocations: 11.16 MB / 0.7309 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002017/1.058, allocations: 38.44 kB / 0.731 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01711/1.075, allocations: 11.32 MB / 0.742 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.418e-05/1.075, allocations: 63.72 kB / 0.7421 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/1.075, allocations: 135.4 kB / 0.7422 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/1.078, allocations: 1.116 MB / 0.7433 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00517/1.083, allocations: 1.693 MB / 0.745 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/1.089, allocations: 6.354 MB / 0.7512 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005181/1.094, allocations: 401.1 kB / 0.7515 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007767/1.095, allocations: 442.8 kB / 0.752 GB, free: 141.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (816): * Single equations (assignments): 812 * 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.003168/1.098, allocations: 2.308 MB / 0.7542 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007388/1.099, allocations: 413.8 kB / 0.7546 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008322/1.108, allocations: 6.192 MB / 0.7607 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/1.108, allocations: 24 kB / 0.7607 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.108, allocations: 4 kB / 0.7607 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/1.108, allocations: 7.969 kB / 0.7607 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.125, allocations: 12.89 MB / 0.7733 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/1.125, allocations: 4 kB / 0.7733 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/1.128, allocations: 0.5421 MB / 0.7738 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/1.13, allocations: 0.9564 MB / 0.7747 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000351/1.131, allocations: 87.09 kB / 0.7748 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006333/1.137, allocations: 6.096 MB / 0.7808 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.137, allocations: 12.03 kB / 0.7808 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.15, allocations: 10.49 MB / 0.791 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.152, allocations: 0.9132 MB / 0.7919 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006433/1.152, allocations: 47.98 kB / 0.792 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/1.154, allocations: 171.7 kB / 0.7921 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004334/1.155, allocations: 169.7 kB / 0.7923 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002482/1.155, allocations: 107.9 kB / 0.7924 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003373/1.159, allocations: 2.766 MB / 0.7951 GB, free: 97.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.159, allocations: 4 kB / 0.7951 GB, free: 97.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005799/1.164, allocations: 1.186 MB / 0.7963 GB, free: 96.24 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0005571/1.165, allocations: 189.7 kB / 0.7964 GB, free: 96.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01/1.175, allocations: 7.732 MB / 0.804 GB, free: 88.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.175, allocations: 0 / 0.804 GB, free: 88.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003479/1.178, allocations: 3.032 MB / 0.807 GB, free: 85.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.182, allocations: 0.5017 MB / 0.8074 GB, free: 84.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.197, allocations: 11.99 MB / 0.8192 GB, free: 72.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002886/1.2, allocations: 3.619 MB / 0.8227 GB, free: 69.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004269/1.204, allocations: 2.261 MB / 0.8249 GB, free: 66.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.206, allocations: 419.1 kB / 0.8253 GB, free: 66.45 MB / 0.5606 GB Notification: Performance of SimCode: time 1.313e-06/1.206, allocations: 4 kB / 0.8253 GB, free: 66.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.08088/1.287, allocations: 52.59 MB / 0.8767 GB, free: 14.08 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches