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.00229/0.00229, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.996/1.996, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001778/0.001778, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2716/0.2716, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.436e-05/4.455e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.142, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5232/0.6652, allocations: 109.2 MB / 0.5794 GB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.6656, allocations: 90.02 kB / 0.5795 GB, free: 10.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4254/1.091, allocations: 98.41 MB / 0.6756 GB, free: 15.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.091, allocations: 0 / 0.6756 GB, free: 15.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003392/1.091, allocations: 100 kB / 0.6757 GB, free: 15.89 MB / 490.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.03156/1.123, allocations: 5.522 MB / 0.6811 GB, free: 10.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.123, allocations: 8.031 kB / 0.6811 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01939/1.142, allocations: 2.317 MB / 0.6834 GB, free: 7.973 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02131/1.164, allocations: 4.984 MB / 0.6882 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006296/1.164, allocations: 394.3 kB / 0.6886 GB, free: 2.539 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003282/1.168, allocations: 0.5154 MB / 0.6891 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04505/1.213, allocations: 12.87 MB / 0.7017 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003806/1.213, allocations: 67.39 kB / 0.7018 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002759/1.216, allocations: 251.9 kB / 0.702 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003431/1.22, allocations: 1.216 MB / 0.7032 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3993/1.619, allocations: 11.08 MB / 0.714 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09986/1.719, allocations: 55.87 MB / 0.7686 GB, free: 77.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02693/1.746, allocations: 5.273 MB / 0.7737 GB, free: 75.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006627/1.753, allocations: 3.284 MB / 0.7769 GB, free: 74.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002368/1.755, allocations: 1.019 MB / 0.7779 GB, free: 73.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/1.755, allocations: 59.38 kB / 0.778 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=224): time 6.963e-06/1.755, allocations: 0 / 0.778 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=255): time 0.1041/1.859, allocations: 21.96 MB / 0.7994 GB, free: 65.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/1.859, allocations: 154.3 kB / 0.7996 GB, free: 65.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009535/1.869, allocations: 3.989 MB / 0.8035 GB, free: 64.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007799/1.87, allocations: 67.11 kB / 0.8035 GB, free: 64.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002875/1.873, allocations: 3.441 MB / 0.8069 GB, free: 61.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001601/1.874, allocations: 0.9551 MB / 0.8078 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009332/1.875, allocations: 138.1 kB / 0.8079 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004664/1.876, allocations: 0.5935 MB / 0.8085 GB, free: 60.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007418/1.883, allocations: 2.972 MB / 0.8114 GB, free: 59.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/1.893, allocations: 6.899 MB / 0.8182 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.904, allocations: 4.471 MB / 0.8225 GB, free: 50.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/1.904, allocations: 40 kB / 0.8226 GB, free: 50.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02964/1.933, allocations: 10.59 MB / 0.8329 GB, free: 41.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.934, allocations: 67.95 kB / 0.833 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/1.934, allocations: 140 kB / 0.8331 GB, free: 41.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/1.939, allocations: 1.138 MB / 0.8342 GB, free: 40.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/1.951, allocations: 1.713 MB / 0.8359 GB, free: 39.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.962, allocations: 5.914 MB / 0.8417 GB, free: 34.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008914/1.971, allocations: 432 kB / 0.8421 GB, free: 33.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001671/1.973, allocations: 426.7 kB / 0.8425 GB, free: 33.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 851 * 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.001722/1.975, allocations: 0.6238 MB / 0.8431 GB, free: 32.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.976, allocations: 418.7 kB / 0.8435 GB, free: 32.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/1.992, allocations: 5.574 MB / 0.8489 GB, free: 27.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-05/1.992, allocations: 28.94 kB / 0.849 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.992, allocations: 4 kB / 0.849 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-05/1.992, allocations: 14.17 kB / 0.849 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03353/2.025, allocations: 12.26 MB / 0.861 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/2.025, allocations: 4 kB / 0.861 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005354/2.031, allocations: 0.5119 MB / 0.8615 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004292/2.035, allocations: 0.9381 MB / 0.8624 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005259/2.036, allocations: 47.38 kB / 0.8624 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/2.046, allocations: 5.653 MB / 0.8679 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/2.046, allocations: 7.938 kB / 0.868 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02174/2.068, allocations: 9.834 MB / 0.8776 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003329/2.071, allocations: 0.9132 MB / 0.8784 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/2.072, allocations: 47.98 kB / 0.8785 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003934/2.076, allocations: 187.7 kB / 0.8787 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006513/2.077, allocations: 157.7 kB / 0.8788 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003099/2.077, allocations: 71.98 kB / 0.8789 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006809/2.084, allocations: 2.788 MB / 0.8816 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.12e-07/2.084, allocations: 0 / 0.8816 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008355/2.093, allocations: 1.265 MB / 0.8828 GB, free: 12.6 MB / 0.5105 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 () * 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.0008941/2.094, allocations: 194.9 kB / 0.883 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01881/2.112, allocations: 7.171 MB / 0.89 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/2.112, allocations: 4 kB / 0.89 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008116/2.121, allocations: 2.726 MB / 0.8927 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004457/2.125, allocations: 462.7 kB / 0.8931 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.404/2.529, allocations: 10.7 MB / 0.9036 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01102/2.54, allocations: 3.904 MB / 0.9074 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003179/2.543, allocations: 369.5 kB / 0.9078 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of SimCode: time 3.046e-06/2.543, allocations: 0 / 0.9078 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1816/2.725, allocations: 91.34 MB / 0.997 GB, free: 78.04 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/jenkins1/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