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.00108/0.00108, allocations: 107.1 kB / 17.77 MB, free: 5.27 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.001342/0.001342, allocations: 184.8 kB / 18.71 MB, free: 4.348 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.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2225/0.2225, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3954, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0122/0.4076, allocations: 11.17 MB / 0.5298 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008813/0.4165, allocations: 3.812 MB / 0.5335 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.4183, allocations: 69.47 kB / 0.5336 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005285/0.4236, allocations: 2.693 MB / 0.5362 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.4291, allocations: 1.846 MB / 0.538 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.4308, allocations: 0.6888 MB / 0.5387 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006245/0.4371, allocations: 3.589 MB / 0.5422 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004872/0.442, allocations: 3.717 MB / 0.5458 GB, free: 388 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.445, allocations: 1.487 MB / 0.5473 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003125/0.4481, allocations: 2.017 MB / 0.5493 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008532/0.449, allocations: 328 kB / 0.5496 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.4513, allocations: 1.061 MB / 0.5506 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.4532, allocations: 1.855 MB / 0.5524 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002814/0.4561, allocations: 2.14 MB / 0.5545 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008126/0.4642, allocations: 6.822 MB / 0.5612 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4643, allocations: 0 / 0.5612 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4643, allocations: 0 / 0.5612 GB, free: 0.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001716/0.4644, allocations: 3.938 kB / 0.5612 GB, free: 0.6211 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.01749/0.4819, allocations: 5.137 MB / 0.5662 GB, free: 11.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.482, allocations: 8.031 kB / 0.5662 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006448/0.4885, allocations: 1.852 MB / 0.568 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/0.4926, allocations: 2.279 MB / 0.5702 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.4927, allocations: 229.8 kB / 0.5705 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005731/0.4933, allocations: 311.8 kB / 0.5708 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01783/0.5112, allocations: 10.22 MB / 0.5807 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.5113, allocations: 43.58 kB / 0.5808 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004448/0.5118, allocations: 151.9 kB / 0.5809 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003274/0.5151, allocations: 1.86 MB / 0.5827 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/0.5344, allocations: 9.195 MB / 0.5917 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04827/0.5827, allocations: 37.48 MB / 0.6283 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01382/0.5966, allocations: 3.713 MB / 0.6319 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/0.599, allocations: 1.714 MB / 0.6336 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009776/0.6, allocations: 0.6825 MB / 0.6343 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.6, allocations: 47.12 kB / 0.6343 GB, free: 3.535 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 7.474e-06/0.6001, allocations: 0 / 0.6343 GB, free: 3.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.04182/0.6419, allocations: 12.94 MB / 0.647 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.642, allocations: 145.2 kB / 0.6471 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004931/0.6469, allocations: 3.975 MB / 0.651 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.6471, allocations: 45.69 kB / 0.651 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.649, allocations: 3.005 MB / 0.654 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/0.6496, allocations: 0.5519 MB / 0.6545 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/0.651, allocations: 1.142 MB / 0.6556 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.6511, allocations: 301.1 kB / 0.6559 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.6538, allocations: 1.935 MB / 0.6578 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004996/0.6588, allocations: 5.528 MB / 0.6632 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009089/0.6679, allocations: 8.074 MB / 0.6711 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-05/0.6681, allocations: 44 kB / 0.6711 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01434/0.6824, allocations: 7.953 MB / 0.6789 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.6825, allocations: 60 kB / 0.6789 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.6827, allocations: 128.9 kB / 0.6791 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/0.6852, allocations: 0.9085 MB / 0.68 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/0.6896, allocations: 1.29 MB / 0.6812 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007503/0.6971, allocations: 5.178 MB / 0.6863 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00493/0.7021, allocations: 307.7 kB / 0.6866 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/0.7033, allocations: 360 kB / 0.6869 GB, free: 9.734 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.003728/0.7071, allocations: 1.994 MB / 0.6889 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007708/0.7078, allocations: 331.6 kB / 0.6892 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005621/0.7135, allocations: 2.778 MB / 0.6919 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/0.7135, allocations: 16 kB / 0.6919 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.7135, allocations: 15.92 kB / 0.6919 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.7136, allocations: 7.984 kB / 0.6919 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.7266, allocations: 7.226 MB / 0.699 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.7267, allocations: 4 kB / 0.699 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.7279, allocations: 247.8 kB / 0.6992 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/0.7301, allocations: 0.7108 MB / 0.6999 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.7303, allocations: 35.97 kB / 0.7 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006102/0.7364, allocations: 4.758 MB / 0.7046 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.7364, allocations: 11.91 kB / 0.7046 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007743/0.7442, allocations: 5.123 MB / 0.7096 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008725/0.7451, allocations: 388.7 kB / 0.71 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.7454, allocations: 24 kB / 0.71 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.7467, allocations: 71.91 kB / 0.7101 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.7469, allocations: 104.4 kB / 0.7102 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.7471, allocations: 47.97 kB / 0.7102 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003797/0.7509, allocations: 2.489 MB / 0.7127 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7509, allocations: 4 kB / 0.7127 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004221/0.7551, allocations: 0.8985 MB / 0.7135 GB, free: 14.18 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.0003969/0.7555, allocations: 155 kB / 0.7137 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007241/0.7628, allocations: 4.616 MB / 0.7182 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7628, allocations: 192 / 0.7182 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.7647, allocations: 1.369 MB / 0.7195 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/0.7671, allocations: 435.4 kB / 0.7199 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2924/1.06, allocations: 8.422 MB / 0.7282 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004914/1.065, allocations: 3.102 MB / 0.7312 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004006/1.069, allocations: 1.797 MB / 0.7329 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/1.069, allocations: 254.4 kB / 0.7332 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/1.069, allocations: 0 / 0.7332 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.06177/1.131, allocations: 32.21 MB / 0.7646 GB, free: 164.2 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