Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002124/0.002124, allocations: 177.6 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.522/1.522, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0006822/0.0006821, allocations: 92.02 kB / 270.9 MB, free: 8.355 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.3659/0.3659, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003822, allocations: 20 kB / 431.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2407/0.3541, allocations: 45.55 MB / 0.5232 GB, free: 18.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02247/0.3767, allocations: 9.823 MB / 0.5328 GB, free: 11.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01043/0.3871, allocations: 210.4 kB / 0.533 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007912/0.3951, allocations: 2.325 MB / 0.5353 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0184/0.4135, allocations: 6.981 MB / 0.5421 GB, free: 7.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.4166, allocations: 0.5119 MB / 0.5426 GB, free: 7.617 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005963/0.4226, allocations: 4.374 MB / 0.5469 GB, free: 6.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007888/0.4305, allocations: 4.505 MB / 0.5513 GB, free: 4.398 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.4336, allocations: 1.225 MB / 0.5525 GB, free: 3.988 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003913/0.4375, allocations: 1.937 MB / 0.5544 GB, free: 3.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.4388, allocations: 146.1 kB / 0.5545 GB, free: 3.406 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.4415, allocations: 0.7794 MB / 0.5553 GB, free: 3.242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.4442, allocations: 1.667 MB / 0.5569 GB, free: 2.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.446, allocations: 0.8312 MB / 0.5577 GB, free: 1.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006894/0.4529, allocations: 5.533 MB / 0.5631 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4529, allocations: 0 / 0.5631 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4529, allocations: 3.938 kB / 0.5631 GB, free: 14.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003472/0.4533, allocations: 1.719 kB / 0.5631 GB, free: 14.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01998/0.4733, allocations: 4.437 MB / 0.5675 GB, free: 11.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.4734, allocations: 9.156 kB / 0.5675 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009044/0.4824, allocations: 1.929 MB / 0.5694 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007708/0.4902, allocations: 2.311 MB / 0.5716 GB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003911/0.4906, allocations: 242.1 kB / 0.5718 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/0.4927, allocations: 316.8 kB / 0.5721 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/0.521, allocations: 10.73 MB / 0.5826 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003982/0.5215, allocations: 47.55 kB / 0.5827 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002369/0.5239, allocations: 151.8 kB / 0.5828 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004217/0.5281, allocations: 1.99 MB / 0.5848 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.5511, allocations: 9.615 MB / 0.5941 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06016/0.6113, allocations: 39.2 MB / 0.6324 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.6257, allocations: 3.931 MB / 0.6363 GB, free: 3.109 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/0.6288, allocations: 1.886 MB / 0.6381 GB, free: 1.215 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.63, allocations: 0.6789 MB / 0.6388 GB, free: 436 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.63, allocations: 55.55 kB / 0.6388 GB, free: 372 kB / 458.7 MB Notification: Performance of pre-optimization done (n=151): time 5.159e-06/0.63, allocations: 4 kB / 0.6388 GB, free: 368 kB / 458.7 MB Notification: Performance of matching and sorting (n=157): time 0.0478/0.6779, allocations: 13.92 MB / 0.6524 GB, free: 2.328 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.678, allocations: 149.5 kB / 0.6526 GB, free: 2.152 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008216/0.6862, allocations: 4.054 MB / 0.6565 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004751/0.6867, allocations: 45.7 kB / 0.6566 GB, free: 14.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002598/0.6893, allocations: 3.125 MB / 0.6596 GB, free: 10.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.6904, allocations: 0.6211 MB / 0.6602 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/0.6911, allocations: 116 kB / 0.6603 GB, free: 10.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005644/0.6917, allocations: 0.55 MB / 0.6609 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/0.6955, allocations: 2.088 MB / 0.6629 GB, free: 7.449 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006379/0.7019, allocations: 5.784 MB / 0.6686 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00587/0.7078, allocations: 3.395 MB / 0.6719 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/0.708, allocations: 36 kB / 0.6719 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01686/0.7249, allocations: 8.383 MB / 0.6801 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.7251, allocations: 64.22 kB / 0.6802 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/0.7253, allocations: 136 kB / 0.6803 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.7279, allocations: 0.9217 MB / 0.6812 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004919/0.7328, allocations: 1.372 MB / 0.6825 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2235/0.9563, allocations: 4.862 MB / 0.6873 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00568/0.9621, allocations: 329.5 kB / 0.6876 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/0.9636, allocations: 371.1 kB / 0.6879 GB, free: 145.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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 (722): * Single equations (assignments): 718 * 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.007115/0.9707, allocations: 2.085 MB / 0.69 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/0.972, allocations: 342.8 kB / 0.6903 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007221/0.9792, allocations: 3.181 MB / 0.6934 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.467e-05/0.9793, allocations: 17.31 kB / 0.6934 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/0.9793, allocations: 5.844 kB / 0.6934 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.9793, allocations: 6.562 kB / 0.6934 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.9964, allocations: 7.961 MB / 0.7012 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/0.9964, allocations: 3.438 kB / 0.7012 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.998, allocations: 311.7 kB / 0.7015 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/1, allocations: 0.7167 MB / 0.7022 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002451/1, allocations: 44.42 kB / 0.7023 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/1.006, allocations: 4.436 MB / 0.7066 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.006, allocations: 1.969 kB / 0.7066 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008596/1.014, allocations: 5.729 MB / 0.7122 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/1.016, allocations: 0.6324 MB / 0.7128 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009691/1.017, allocations: 29.41 kB / 0.7128 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/1.019, allocations: 92.77 kB / 0.7129 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/1.02, allocations: 102.9 kB / 0.713 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/1.02, allocations: 54.67 kB / 0.7131 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004449/1.024, allocations: 2.531 MB / 0.7155 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/1.024, allocations: 0 / 0.7155 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006773/1.031, allocations: 0.9596 MB / 0.7165 GB, free: 136 MB / 0.4948 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 (126): * Single equations (assignments): 122 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004598/1.032, allocations: 152.7 kB / 0.7166 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008547/1.04, allocations: 5.009 MB / 0.7215 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.04, allocations: 0 / 0.7215 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002851/1.043, allocations: 1.555 MB / 0.723 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/1.048, allocations: 426.8 kB / 0.7234 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.069, allocations: 11.14 MB / 0.7343 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004852/1.074, allocations: 3.234 MB / 0.7375 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.076, allocations: 309.9 kB / 0.7378 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of SimCode: time 9.01e-07/1.076, allocations: 0 / 0.7378 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.103/1.179, allocations: 74.88 MB / 0.8109 GB, free: 60.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches