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.001297/0.001296, allocations: 179.4 kB / 16.41 MB, free: 5.707 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.445/1.445, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007438/0.0007438, allocations: 103.6 kB / 270.9 MB, free: 8.359 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.3562/0.3562, allocations: 43.56 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.2483/0.3643, allocations: 60.1 MB / 0.5374 GB, free: 7.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03205/0.3964, allocations: 12.44 MB / 0.5496 GB, free: 15.33 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0161/0.4126, allocations: 285.9 kB / 0.5499 GB, free: 15.28 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.4243, allocations: 3.112 MB / 0.5529 GB, free: 14.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03136/0.4557, allocations: 9.107 MB / 0.5618 GB, free: 10.36 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004682/0.4604, allocations: 0.6199 MB / 0.5624 GB, free: 10.09 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009945/0.4704, allocations: 5.205 MB / 0.5675 GB, free: 7.852 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.4812, allocations: 6.013 MB / 0.5734 GB, free: 4.414 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.4854, allocations: 1.472 MB / 0.5748 GB, free: 3.676 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004647/0.4901, allocations: 2.304 MB / 0.577 GB, free: 1.762 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.4915, allocations: 176 kB / 0.5772 GB, free: 1.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.4947, allocations: 0.8075 MB / 0.578 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00343/0.4982, allocations: 1.979 MB / 0.5799 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.5005, allocations: 1.006 MB / 0.5809 GB, free: 13.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008644/0.5092, allocations: 6.632 MB / 0.5874 GB, free: 7.133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5092, allocations: 0 / 0.5874 GB, free: 7.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5092, allocations: 0 / 0.5874 GB, free: 7.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003445/0.5096, allocations: 0 / 0.5874 GB, free: 7.133 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.02044/0.53, allocations: 5.375 MB / 0.5926 GB, free: 1.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5301, allocations: 16.02 kB / 0.5927 GB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007981/0.5381, allocations: 2.036 MB / 0.5946 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007051/0.5452, allocations: 2.707 MB / 0.5973 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.5456, allocations: 307.8 kB / 0.5976 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.5475, allocations: 420.7 kB / 0.598 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02852/0.576, allocations: 12.88 MB / 0.6106 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002439/0.5763, allocations: 47.55 kB / 0.6106 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/0.5778, allocations: 191.8 kB / 0.6108 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004587/0.5824, allocations: 2.374 MB / 0.6131 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02636/0.6088, allocations: 11.78 MB / 0.6246 GB, free: 116 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3067/0.9156, allocations: 48.09 MB / 0.6716 GB, free: 126.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/0.9351, allocations: 5.709 MB / 0.6771 GB, free: 126.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004419/0.9395, allocations: 3.609 MB / 0.6807 GB, free: 126 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000891/0.9404, allocations: 0.6997 MB / 0.6814 GB, free: 125.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.9405, allocations: 55.78 kB / 0.6814 GB, free: 125.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 5.711e-06/0.9405, allocations: 0 / 0.6814 GB, free: 125.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=255): time 0.07344/1.014, allocations: 28.49 MB / 0.7092 GB, free: 117.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/1.014, allocations: 160.9 kB / 0.7094 GB, free: 117.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00862/1.023, allocations: 4.491 MB / 0.7138 GB, free: 115.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008088/1.024, allocations: 66.55 kB / 0.7138 GB, free: 115.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002711/1.026, allocations: 3.542 MB / 0.7173 GB, free: 112.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001621/1.028, allocations: 0.9561 MB / 0.7182 GB, free: 112 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/1.028, allocations: 134.7 kB / 0.7184 GB, free: 111.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000445/1.029, allocations: 0.5963 MB / 0.7189 GB, free: 111.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005871/1.035, allocations: 3.433 MB / 0.7223 GB, free: 110.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006119/1.041, allocations: 7.379 MB / 0.7295 GB, free: 104.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006544/1.047, allocations: 4.901 MB / 0.7343 GB, free: 102.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.122e-05/1.048, allocations: 38.97 kB / 0.7343 GB, free: 102.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01977/1.067, allocations: 11.74 MB / 0.7458 GB, free: 96.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/1.067, allocations: 64 kB / 0.7458 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/1.068, allocations: 140 kB / 0.746 GB, free: 95.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/1.07, allocations: 1.148 MB / 0.7471 GB, free: 94.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006463/1.077, allocations: 1.779 MB / 0.7488 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006563/1.083, allocations: 6.018 MB / 0.7547 GB, free: 87.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006493/1.09, allocations: 421.2 kB / 0.7551 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.091, allocations: 456.9 kB / 0.7556 GB, free: 86.62 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.00453/1.095, allocations: 2.426 MB / 0.7579 GB, free: 84.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.097, allocations: 418.6 kB / 0.7583 GB, free: 83.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008978/1.106, allocations: 6.563 MB / 0.7647 GB, free: 77.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.546e-05/1.106, allocations: 28 kB / 0.7648 GB, free: 77.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.106, allocations: 4 kB / 0.7648 GB, free: 77.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/1.106, allocations: 17.03 kB / 0.7648 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.126, allocations: 13.78 MB / 0.7782 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.126, allocations: 4 kB / 0.7782 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/1.129, allocations: 0.5984 MB / 0.7788 GB, free: 62.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/1.131, allocations: 0.9451 MB / 0.7797 GB, free: 61.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/1.131, allocations: 94.7 kB / 0.7798 GB, free: 61.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/1.137, allocations: 5.737 MB / 0.7854 GB, free: 55.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.137, allocations: 4 kB / 0.7854 GB, free: 55.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/1.151, allocations: 11.05 MB / 0.7962 GB, free: 44.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/1.153, allocations: 0.9474 MB / 0.7972 GB, free: 43.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006822/1.154, allocations: 44 kB / 0.7972 GB, free: 43.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/1.156, allocations: 188.3 kB / 0.7974 GB, free: 43.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/1.156, allocations: 191.2 kB / 0.7976 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.157, allocations: 111.9 kB / 0.7977 GB, free: 43.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003557/1.16, allocations: 2.819 MB / 0.8004 GB, free: 40.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.16, allocations: 0 / 0.8004 GB, free: 40.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005878/1.166, allocations: 1.266 MB / 0.8017 GB, free: 39.06 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.0005646/1.167, allocations: 183 kB / 0.8018 GB, free: 38.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01087/1.178, allocations: 8.108 MB / 0.8098 GB, free: 30.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.178, allocations: 0 / 0.8098 GB, free: 30.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004017/1.182, allocations: 3.21 MB / 0.8129 GB, free: 27.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/1.186, allocations: 0.4968 MB / 0.8134 GB, free: 27.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/1.207, allocations: 15.18 MB / 0.8282 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003333/1.21, allocations: 3.794 MB / 0.8319 GB, free: 8.027 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/1.213, allocations: 487 kB / 0.8324 GB, free: 7.551 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/1.213, allocations: 0 / 0.8324 GB, free: 7.551 MB / 490.7 MB Notification: Performance of Templates: time 0.3522/1.565, allocations: 97.34 MB / 0.9274 GB, free: 124.8 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