Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 110.3 kB / 16.41 MB, free: 6.48 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.001251/0.001251, allocations: 190.1 kB / 17.34 MB, free: 5.766 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.496/1.496, allocations: 205.1 MB / 223.2 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.2203/0.2203, allocations: 43.52 MB / 314.1 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.001394/0.001394, allocations: 64.47 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01485/0.155, allocations: 13.81 MB / 0.5014 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.1679, allocations: 4.373 MB / 0.5057 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.1718, allocations: 83.75 kB / 0.5057 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007439/0.1794, allocations: 3.746 MB / 0.5094 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00778/0.1872, allocations: 2.159 MB / 0.5115 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.19, allocations: 0.811 MB / 0.5123 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008573/0.1986, allocations: 4.416 MB / 0.5166 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007875/0.2065, allocations: 4.934 MB / 0.5214 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.2108, allocations: 1.927 MB / 0.5233 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005509/0.2163, allocations: 2.609 MB / 0.5259 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002241/0.2186, allocations: 440 kB / 0.5263 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004948/0.2236, allocations: 1.155 MB / 0.5274 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003879/0.2275, allocations: 2.35 MB / 0.5297 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3542/0.5817, allocations: 2.758 MB / 0.5324 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01707/0.5988, allocations: 8.613 MB / 0.5408 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.5989, allocations: 0 / 0.5408 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5989, allocations: 3.219 kB / 0.5408 GB, free: 10.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004838/0.5994, allocations: 0 / 0.5408 GB, free: 10.43 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.03737/0.6368, allocations: 6.46 MB / 0.5471 GB, free: 8.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.986e-05/0.6369, allocations: 9.344 kB / 0.5471 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.6474, allocations: 1.983 MB / 0.5491 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009895/0.6574, allocations: 2.822 MB / 0.5518 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000557/0.658, allocations: 312.9 kB / 0.5521 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003041/0.661, allocations: 410.1 kB / 0.5525 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03678/0.6978, allocations: 12.89 MB / 0.5651 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002615/0.6981, allocations: 51.02 kB / 0.5651 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001517/0.6997, allocations: 187.9 kB / 0.5653 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004772/0.7045, allocations: 2.377 MB / 0.5676 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0309/0.7354, allocations: 11.8 MB / 0.5792 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0885/0.824, allocations: 47.91 MB / 0.626 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0187/0.8427, allocations: 5.7 MB / 0.6315 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005776/0.8485, allocations: 3.615 MB / 0.6351 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.8498, allocations: 0.7021 MB / 0.6357 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.8499, allocations: 55.81 kB / 0.6358 GB, free: 14.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 6.653e-06/0.8499, allocations: 7.188 kB / 0.6358 GB, free: 14.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.08743/0.9373, allocations: 28.49 MB / 0.6636 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.9375, allocations: 150.5 kB / 0.6638 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007631/0.9451, allocations: 4.521 MB / 0.6682 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008606/0.946, allocations: 61.7 kB / 0.6682 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002883/0.9489, allocations: 3.542 MB / 0.6717 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001954/0.9509, allocations: 0.9521 MB / 0.6726 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002631/0.9535, allocations: 1.481 MB / 0.6741 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.9537, allocations: 301.1 kB / 0.6744 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005482/0.9591, allocations: 3.453 MB / 0.6777 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009577/0.9687, allocations: 7.39 MB / 0.6849 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01806/0.9869, allocations: 11.67 MB / 0.6963 GB, free: 13.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/0.9871, allocations: 40 kB / 0.6964 GB, free: 13.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02685/1.014, allocations: 11.78 MB / 0.7079 GB, free: 1.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/1.014, allocations: 67.75 kB / 0.708 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003094/1.014, allocations: 140 kB / 0.7081 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/1.017, allocations: 1.121 MB / 0.7092 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007583/1.025, allocations: 1.774 MB / 0.7109 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008783/1.034, allocations: 6.361 MB / 0.7171 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007109/1.041, allocations: 422.6 kB / 0.7175 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/1.043, allocations: 451.8 kB / 0.718 GB, free: 7.441 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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 (857): * Single equations (assignments): 853 * 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.007214/1.05, allocations: 2.428 MB / 0.7203 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/1.052, allocations: 418.6 kB / 0.7207 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.065, allocations: 6.56 MB / 0.7271 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.653e-05/1.066, allocations: 28 kB / 0.7272 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.385e-05/1.066, allocations: 4 kB / 0.7272 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.011e-05/1.066, allocations: 15.89 kB / 0.7272 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03321/1.099, allocations: 13.63 MB / 0.7405 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/1.099, allocations: 4 kB / 0.7405 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003452/1.102, allocations: 0.597 MB / 0.7411 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/1.105, allocations: 0.9607 MB / 0.742 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005547/1.106, allocations: 83.89 kB / 0.7421 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007981/1.114, allocations: 6.096 MB / 0.7481 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.114, allocations: 3.938 kB / 0.7481 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4111/1.525, allocations: 11.06 MB / 0.7589 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004027/1.529, allocations: 0.9422 MB / 0.7598 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000987/1.53, allocations: 43.5 kB / 0.7598 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.532, allocations: 179.4 kB / 0.76 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/1.533, allocations: 195.6 kB / 0.7602 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003142/1.533, allocations: 115.7 kB / 0.7603 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00673/1.54, allocations: 2.841 MB / 0.7631 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.11e-07/1.54, allocations: 0.5312 kB / 0.7631 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01063/1.551, allocations: 1.264 MB / 0.7643 GB, free: 207.7 MB / 0.5919 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 (228): * Single equations (assignments): 224 * 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.0009417/1.552, allocations: 186.2 kB / 0.7645 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01651/1.568, allocations: 8.15 MB / 0.7724 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/1.568, allocations: 3.938 kB / 0.7724 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005675/1.574, allocations: 3.218 MB / 0.7756 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006759/1.581, allocations: 0.5032 MB / 0.7761 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/1.609, allocations: 12.48 MB / 0.7883 GB, free: 198.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008019/1.617, allocations: 3.804 MB / 0.792 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00638/1.623, allocations: 2.36 MB / 0.7943 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.625, allocations: 427 kB / 0.7947 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/1.625, allocations: 3.938 kB / 0.7947 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1017/1.726, allocations: 54.68 MB / 0.8481 GB, free: 141.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches