Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000867/0.000867, allocations: 175.4 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.4 MB / 222.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008444/0.0008445, allocations: 90.39 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2959/0.2959, allocations: 43.57 MB / 363.1 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 12 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09893, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.22/0.319, allocations: 60.11 MB / 0.538 GB, free: 7.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02691/0.346, allocations: 12.45 MB / 0.5502 GB, free: 15.2 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01304/0.3591, allocations: 280.6 kB / 0.5504 GB, free: 15.15 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009955/0.3691, allocations: 3.121 MB / 0.5535 GB, free: 14.05 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02677/0.3959, allocations: 9.129 MB / 0.5624 GB, free: 10.21 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.4003, allocations: 0.657 MB / 0.5631 GB, free: 9.934 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008119/0.4085, allocations: 5.244 MB / 0.5682 GB, free: 7.605 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.4186, allocations: 6.524 MB / 0.5745 GB, free: 3.902 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003206/0.4219, allocations: 1.472 MB / 0.576 GB, free: 3.109 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.4256, allocations: 2.297 MB / 0.5782 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009633/0.4266, allocations: 172 kB / 0.5784 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.4291, allocations: 0.9438 MB / 0.5793 GB, free: 15.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00254/0.4317, allocations: 1.987 MB / 0.5813 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003489/0.4352, allocations: 2.281 MB / 0.5835 GB, free: 11.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007349/0.4426, allocations: 6.64 MB / 0.59 GB, free: 4.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4426, allocations: 0 / 0.59 GB, free: 4.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4426, allocations: 0 / 0.59 GB, free: 4.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002871/0.4429, allocations: 0 / 0.59 GB, free: 4.742 MB / 410.7 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.01798/0.4609, allocations: 5.305 MB / 0.5951 GB, free: 15.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.461, allocations: 8.031 kB / 0.5952 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007457/0.4684, allocations: 2.041 MB / 0.5971 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006065/0.4745, allocations: 2.776 MB / 0.5999 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.4749, allocations: 311.8 kB / 0.6002 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001576/0.4765, allocations: 403.8 kB / 0.6005 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/0.502, allocations: 12.88 MB / 0.6131 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003082/0.5024, allocations: 55.52 kB / 0.6132 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00158/0.504, allocations: 187.8 kB / 0.6134 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004233/0.5083, allocations: 2.367 MB / 0.6157 GB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02458/0.5329, allocations: 11.78 MB / 0.6272 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2432/0.7761, allocations: 48.11 MB / 0.6741 GB, free: 126 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/0.7925, allocations: 5.716 MB / 0.6797 GB, free: 125.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004116/0.7966, allocations: 3.599 MB / 0.6832 GB, free: 125.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008083/0.7975, allocations: 0.6977 MB / 0.6839 GB, free: 124.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.7975, allocations: 61.89 kB / 0.684 GB, free: 124.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 5.841e-06/0.7975, allocations: 2.953 kB / 0.684 GB, free: 124.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=255): time 0.07208/0.8696, allocations: 28.49 MB / 0.7118 GB, free: 116.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.8697, allocations: 162.2 kB / 0.712 GB, free: 116.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00686/0.8766, allocations: 4.496 MB / 0.7164 GB, free: 114.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005847/0.8772, allocations: 61.17 kB / 0.7164 GB, free: 114.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002055/0.8793, allocations: 3.543 MB / 0.7199 GB, free: 112.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.8805, allocations: 0.9566 MB / 0.7208 GB, free: 111.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/0.881, allocations: 137.9 kB / 0.7209 GB, free: 111.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003372/0.8813, allocations: 0.5913 MB / 0.7215 GB, free: 110.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005072/0.8864, allocations: 3.437 MB / 0.7249 GB, free: 109.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006257/0.8927, allocations: 7.374 MB / 0.7321 GB, free: 103.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/0.9036, allocations: 11.66 MB / 0.7435 GB, free: 95.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/0.9038, allocations: 40.16 kB / 0.7435 GB, free: 95.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01873/0.9225, allocations: 11.74 MB / 0.755 GB, free: 85.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/0.9226, allocations: 67.94 kB / 0.755 GB, free: 85.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/0.9228, allocations: 140 kB / 0.7552 GB, free: 85.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/0.9253, allocations: 1.128 MB / 0.7563 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006222/0.9315, allocations: 1.785 MB / 0.758 GB, free: 82.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006568/0.9382, allocations: 6.013 MB / 0.7639 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/0.9438, allocations: 426.5 kB / 0.7643 GB, free: 75.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.9449, allocations: 455.8 kB / 0.7647 GB, free: 75.14 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003727/0.9487, allocations: 2.423 MB / 0.7671 GB, free: 72.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009075/0.9496, allocations: 414.6 kB / 0.7675 GB, free: 72.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008784/0.9584, allocations: 6.559 MB / 0.7739 GB, free: 65.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/0.9584, allocations: 25.25 kB / 0.7739 GB, free: 65.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.9585, allocations: 4.5 kB / 0.7739 GB, free: 65.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/0.9585, allocations: 15.95 kB / 0.7739 GB, free: 65.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/0.9781, allocations: 13.78 MB / 0.7874 GB, free: 51.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/0.9782, allocations: 4 kB / 0.7874 GB, free: 51.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/0.9811, allocations: 0.5931 MB / 0.788 GB, free: 51.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/0.9833, allocations: 0.9583 MB / 0.7889 GB, free: 50.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004427/0.9838, allocations: 92.83 kB / 0.789 GB, free: 50.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005743/0.9895, allocations: 5.725 MB / 0.7946 GB, free: 44.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9896, allocations: 4 kB / 0.7946 GB, free: 44.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.004, allocations: 11.06 MB / 0.8054 GB, free: 33.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.006, allocations: 0.9444 MB / 0.8063 GB, free: 32.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008949/1.007, allocations: 44 kB / 0.8064 GB, free: 32.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.009, allocations: 187.8 kB / 0.8065 GB, free: 31.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/1.01, allocations: 197.6 kB / 0.8067 GB, free: 31.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.01, allocations: 114.9 kB / 0.8068 GB, free: 31.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003587/1.014, allocations: 2.815 MB / 0.8096 GB, free: 28.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/1.014, allocations: 0 / 0.8096 GB, free: 28.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005706/1.019, allocations: 1.264 MB / 0.8108 GB, free: 27.59 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00061/1.02, allocations: 193.1 kB / 0.811 GB, free: 27.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01057/1.031, allocations: 8.102 MB / 0.8189 GB, free: 19.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.031, allocations: 4.188 kB / 0.8189 GB, free: 19.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004157/1.035, allocations: 3.214 MB / 0.8221 GB, free: 16.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005496/1.04, allocations: 496 kB / 0.8225 GB, free: 15.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/1.062, allocations: 15.18 MB / 0.8374 GB, free: 400 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004325/1.066, allocations: 3.799 MB / 0.8411 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/1.068, allocations: 483 kB / 0.8415 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/1.068, allocations: 3.938 kB / 0.8415 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.2999/1.368, allocations: 97.17 MB / 0.9364 GB, free: 110.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches