Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009433/0.0009434, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008608/0.0008606, allocations: 101.8 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1892/0.1892, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.247e-05/1.248e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09083, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4784, allocations: 110.6 MB / 0.6124 GB, free: 8.355 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4787, allocations: 82.08 kB / 0.6125 GB, free: 8.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2315/0.7102, allocations: 94.34 MB / 0.7046 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.7103, allocations: 0 / 0.7046 GB, free: 1.945 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004615/0.7108, allocations: 100 kB / 0.7047 GB, free: 1.848 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02206/0.7328, allocations: 5.438 MB / 0.71 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.7329, allocations: 8.031 kB / 0.71 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.7431, allocations: 2.325 MB / 0.7123 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.7534, allocations: 4.219 MB / 0.7164 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.7536, allocations: 160 kB / 0.7165 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.7552, allocations: 295.9 kB / 0.7168 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01221/0.7674, allocations: 7.493 MB / 0.7241 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.7866, allocations: 11.06 MB / 0.7349 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001953/0.7869, allocations: 59.47 kB / 0.735 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006458/0.7875, allocations: 32 kB / 0.735 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001719/0.7893, allocations: 1.157 MB / 0.7362 GB, free: 424 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3423/1.132, allocations: 52.16 MB / 0.7871 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/1.138, allocations: 4.267 MB / 0.7913 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004135/1.142, allocations: 3.06 MB / 0.7942 GB, free: 94.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/1.144, allocations: 1.012 MB / 0.7952 GB, free: 93.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.144, allocations: 55.69 kB / 0.7953 GB, free: 93.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=203): time 4.228e-06/1.144, allocations: 0 / 0.7953 GB, free: 93.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=234): time 0.04141/1.185, allocations: 21.95 MB / 0.8167 GB, free: 90.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/1.185, allocations: 148.6 kB / 0.8169 GB, free: 90.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00487/1.19, allocations: 3.213 MB / 0.82 GB, free: 89.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000717/1.191, allocations: 25.7 kB / 0.82 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/1.193, allocations: 3.484 MB / 0.8234 GB, free: 87.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.194, allocations: 0.8592 MB / 0.8243 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/1.194, allocations: 0 / 0.8243 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000281/1.194, allocations: 0.5903 MB / 0.8248 GB, free: 86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/1.197, allocations: 2.725 MB / 0.8275 GB, free: 85.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004317/1.202, allocations: 6.642 MB / 0.834 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/1.206, allocations: 4.178 MB / 0.8381 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.295e-05/1.206, allocations: 46.06 kB / 0.8381 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=880) (initialization): time 0.01577/1.222, allocations: 9.521 MB / 0.8474 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.851e-05/1.222, allocations: 70.42 kB / 0.8475 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/1.222, allocations: 140.2 kB / 0.8476 GB, free: 74.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/1.225, allocations: 1.131 MB / 0.8487 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006047/1.231, allocations: 1.679 MB / 0.8504 GB, free: 74.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/1.237, allocations: 5.62 MB / 0.8559 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0059/1.243, allocations: 284.2 kB / 0.8561 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.244, allocations: 426.7 kB / 0.8565 GB, free: 71.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 639 * Number of states: 0 () * Number of discrete variables: 44 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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.001123/1.245, allocations: 469.7 kB / 0.857 GB, free: 70.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000806/1.246, allocations: 350 kB / 0.8573 GB, free: 70.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007414/1.253, allocations: 5.029 MB / 0.8622 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/1.253, allocations: 31.44 kB / 0.8623 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.253, allocations: 0 / 0.8623 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/1.254, allocations: 14.02 kB / 0.8623 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/1.27, allocations: 10.53 MB / 0.8725 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/1.27, allocations: 4 kB / 0.8726 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/1.273, allocations: 474.5 kB / 0.873 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/1.275, allocations: 0.9338 MB / 0.8739 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000371/1.276, allocations: 8 kB / 0.8739 GB, free: 61.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005476/1.281, allocations: 5.348 MB / 0.8791 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.281, allocations: 7.828 kB / 0.8792 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.292, allocations: 9.005 MB / 0.8879 GB, free: 49.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.294, allocations: 0.8073 MB / 0.8887 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004828/1.295, allocations: 8 kB / 0.8887 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.297, allocations: 141.5 kB / 0.8889 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/1.297, allocations: 146.2 kB / 0.889 GB, free: 48.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.297, allocations: 63.56 kB / 0.8891 GB, free: 48.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003175/1.3, allocations: 2.133 MB / 0.8912 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/1.3, allocations: 0 / 0.8912 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006807/1.307, allocations: 1.043 MB / 0.8922 GB, free: 45.38 MB / 0.5261 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 (206): * Single equations (assignments): 202 * 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.0005934/1.308, allocations: 161.6 kB / 0.8923 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009475/1.317, allocations: 6.497 MB / 0.8987 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.317, allocations: 0 / 0.8987 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003083/1.32, allocations: 2.489 MB / 0.9011 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.323, allocations: 349.5 kB / 0.9014 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.341, allocations: 9.491 MB / 0.9107 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003422/1.344, allocations: 3.771 MB / 0.9144 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005569/1.35, allocations: 2.209 MB / 0.9166 GB, free: 24.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.351, allocations: 278.6 kB / 0.9168 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/1.351, allocations: 4 kB / 0.9168 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.07072/1.422, allocations: 39.69 MB / 0.9556 GB, free: 2.93 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches