Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 226.5 MB / 244.1 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008049/0.0008049, allocations: 101.8 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2876/0.2876, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002404, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2776, allocations: 62.94 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4004, allocations: 110.6 MB / 0.6244 GB, free: 10.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4006, allocations: 91.94 kB / 0.6245 GB, free: 10.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3793/0.7799, allocations: 81.2 MB / 0.7038 GB, free: 100.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.78, allocations: 1.094 kB / 0.7038 GB, free: 100.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002537/0.7802, allocations: 82.34 kB / 0.7039 GB, free: 100.3 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01598/0.7962, allocations: 4.499 MB / 0.7083 GB, free: 98.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7963, allocations: 11.28 kB / 0.7083 GB, free: 98.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009363/0.8057, allocations: 2.171 MB / 0.7104 GB, free: 98.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007258/0.813, allocations: 3.131 MB / 0.7135 GB, free: 97.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/0.8133, allocations: 310.4 kB / 0.7138 GB, free: 97.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/0.8152, allocations: 397.8 kB / 0.7142 GB, free: 97.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/0.8354, allocations: 10.27 MB / 0.7242 GB, free: 93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002087/0.8356, allocations: 65.09 kB / 0.7242 GB, free: 92.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.8369, allocations: 194.1 kB / 0.7244 GB, free: 92.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/0.8381, allocations: 0.9494 MB / 0.7254 GB, free: 92.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/0.8527, allocations: 8.589 MB / 0.7337 GB, free: 89.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03623/0.8889, allocations: 45.86 MB / 0.7785 GB, free: 55.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008292/0.8973, allocations: 3.393 MB / 0.7818 GB, free: 53.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.899, allocations: 1.675 MB / 0.7835 GB, free: 53.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005405/0.9044, allocations: 4.411 MB / 0.7878 GB, free: 49.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.9045, allocations: 43.12 kB / 0.7878 GB, free: 49.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 4.028e-06/0.9045, allocations: 0 / 0.7878 GB, free: 49.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.02218/0.9267, allocations: 11.07 MB / 0.7986 GB, free: 39.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.9267, allocations: 141.2 kB / 0.7988 GB, free: 39.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004336/0.9311, allocations: 3.98 MB / 0.8027 GB, free: 35.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.9313, allocations: 41.7 kB / 0.8027 GB, free: 35.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.9325, allocations: 3.04 MB / 0.8057 GB, free: 32.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.9329, allocations: 0.5199 MB / 0.8062 GB, free: 31.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.9331, allocations: 108 kB / 0.8063 GB, free: 31.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.9333, allocations: 0.5374 MB / 0.8068 GB, free: 31.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.9355, allocations: 1.783 MB / 0.8085 GB, free: 29.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003167/0.9386, allocations: 5.377 MB / 0.8138 GB, free: 22.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006042/0.9447, allocations: 7.787 MB / 0.8214 GB, free: 12.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.357e-05/0.9448, allocations: 36 kB / 0.8214 GB, free: 12.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01086/0.9557, allocations: 7.613 MB / 0.8289 GB, free: 4.785 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.9558, allocations: 60.03 kB / 0.8289 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-05/0.9559, allocations: 128 kB / 0.829 GB, free: 4.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/0.9579, allocations: 0.8914 MB / 0.8299 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/0.9612, allocations: 1.281 MB / 0.8312 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005225/0.9664, allocations: 4.773 MB / 0.8358 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00378/0.9702, allocations: 295.7 kB / 0.8361 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006853/0.9709, allocations: 355.6 kB / 0.8365 GB, free: 12.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 38 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (676): * Single equations (assignments): 672 * 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.003154/0.9741, allocations: 1.99 MB / 0.8384 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005351/0.9746, allocations: 335.6 kB / 0.8387 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/0.9793, allocations: 2.512 MB / 0.8412 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/0.9793, allocations: 16 kB / 0.8412 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.9793, allocations: 11.88 kB / 0.8412 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.9794, allocations: 3.984 kB / 0.8412 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.9907, allocations: 6.453 MB / 0.8475 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.9907, allocations: 0 / 0.8475 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009864/0.9917, allocations: 205.9 kB / 0.8477 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/0.9937, allocations: 0.6952 MB / 0.8484 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.9938, allocations: 24 kB / 0.8484 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005153/0.999, allocations: 4.338 MB / 0.8526 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.999, allocations: 0 / 0.8526 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006762/1.006, allocations: 4.57 MB / 0.8571 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009333/1.007, allocations: 401.1 kB / 0.8575 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/1.007, allocations: 20 kB / 0.8575 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.008, allocations: 83.83 kB / 0.8576 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/1.008, allocations: 76.05 kB / 0.8576 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/1.009, allocations: 39.98 kB / 0.8577 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003772/1.012, allocations: 2.485 MB / 0.8601 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/1.012, allocations: 4 kB / 0.8601 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004324/1.017, allocations: 0.9024 MB / 0.861 GB, free: 3.535 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (95): * Single equations (assignments): 91 * 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.0004221/1.017, allocations: 150.7 kB / 0.8611 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006659/1.024, allocations: 4.318 MB / 0.8654 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.024, allocations: 0 / 0.8654 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/1.025, allocations: 1.197 MB / 0.8665 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.028, allocations: 398.5 kB / 0.8669 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/1.043, allocations: 10.26 MB / 0.8769 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003215/1.046, allocations: 3.097 MB / 0.88 GB, free: 92 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2016/1.248, allocations: 259.5 kB / 0.8802 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.243e-06/1.248, allocations: 3.969 kB / 0.8802 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.08897/1.337, allocations: 69.54 MB / 0.9481 GB, free: 114.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches