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.001005/0.001005, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009042/0.0009042, allocations: 87.7 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1686/0.1686, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.04e-05, allocations: 0 / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09301, allocations: 63.25 MB / 0.5114 GB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4317, allocations: 111.3 MB / 0.62 GB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.432, allocations: 92.98 kB / 0.6201 GB, free: 14.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2189/0.651, allocations: 96.25 MB / 0.7141 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.372e-06/0.651, allocations: 0 / 0.7141 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001589/0.6512, allocations: 96 kB / 0.7142 GB, free: 6.461 MB / 0.4948 GB 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.01626/0.6674, allocations: 5.45 MB / 0.7195 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.6675, allocations: 11.97 kB / 0.7195 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009528/0.677, allocations: 2.329 MB / 0.7218 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009852/0.6869, allocations: 4.215 MB / 0.7259 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.6872, allocations: 377.9 kB / 0.7263 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001994/0.6892, allocations: 0.4919 MB / 0.7268 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/0.7125, allocations: 12.42 MB / 0.7389 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.7127, allocations: 63.41 kB / 0.7389 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006451/0.7134, allocations: 235.9 kB / 0.7392 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001486/0.7149, allocations: 1.157 MB / 0.7403 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2686/0.9834, allocations: 10.66 MB / 0.7507 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05514/1.039, allocations: 54.25 MB / 0.8037 GB, free: 88.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/1.051, allocations: 5.053 MB / 0.8086 GB, free: 88.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00318/1.054, allocations: 3.119 MB / 0.8117 GB, free: 87.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/1.056, allocations: 1.007 MB / 0.8126 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.056, allocations: 52.66 kB / 0.8127 GB, free: 86.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=203): time 5.13e-06/1.056, allocations: 1.625 kB / 0.8127 GB, free: 86.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=234): time 0.04654/1.102, allocations: 20.97 MB / 0.8332 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/1.102, allocations: 153.2 kB / 0.8333 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004789/1.107, allocations: 3.889 MB / 0.8371 GB, free: 78.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000423/1.108, allocations: 65.02 kB / 0.8372 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001565/1.109, allocations: 3.442 MB / 0.8405 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008114/1.11, allocations: 0.8838 MB / 0.8414 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.11, allocations: 132.2 kB / 0.8415 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002653/1.111, allocations: 0.5814 MB / 0.8421 GB, free: 74.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/1.114, allocations: 2.814 MB / 0.8448 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004532/1.118, allocations: 6.624 MB / 0.8513 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004361/1.123, allocations: 4.258 MB / 0.8555 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.59e-05/1.123, allocations: 36.47 kB / 0.8555 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.01299/1.136, allocations: 10.3 MB / 0.8656 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/1.136, allocations: 61.12 kB / 0.8656 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.784e-05/1.136, allocations: 137.2 kB / 0.8658 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/1.138, allocations: 1.132 MB / 0.8669 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/1.143, allocations: 1.634 MB / 0.8685 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00564/1.149, allocations: 5.923 MB / 0.8742 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004544/1.153, allocations: 405.3 kB / 0.8746 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005133/1.154, allocations: 411.6 kB / 0.875 GB, free: 56.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * 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 (817): * Single equations (assignments): 813 * 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.0007959/1.154, allocations: 0.6008 MB / 0.8756 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/1.155, allocations: 398.8 kB / 0.876 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007392/1.162, allocations: 5.227 MB / 0.8811 GB, free: 51.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/1.162, allocations: 28 kB / 0.8811 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.162, allocations: 4 kB / 0.8811 GB, free: 51.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.162, allocations: 10.22 kB / 0.8811 GB, free: 51.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/1.178, allocations: 11.59 MB / 0.8925 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.178, allocations: 4 kB / 0.8925 GB, free: 42.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/1.18, allocations: 479.9 kB / 0.8929 GB, free: 41.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/1.182, allocations: 0.9391 MB / 0.8938 GB, free: 41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/1.183, allocations: 44 kB / 0.8939 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005515/1.188, allocations: 5.65 MB / 0.8994 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.188, allocations: 4 kB / 0.8994 GB, free: 35.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.198, allocations: 9.257 MB / 0.9084 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.2, allocations: 0.8603 MB / 0.9093 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004618/1.201, allocations: 40 kB / 0.9093 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.202, allocations: 183.2 kB / 0.9095 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/1.203, allocations: 143.8 kB / 0.9096 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.203, allocations: 63.28 kB / 0.9097 GB, free: 26.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003301/1.206, allocations: 2.718 MB / 0.9123 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/1.206, allocations: 0 / 0.9123 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004356/1.211, allocations: 1.213 MB / 0.9135 GB, free: 23.07 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.00042/1.211, allocations: 187.8 kB / 0.9137 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007956/1.219, allocations: 6.788 MB / 0.9203 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.219, allocations: 0 / 0.9203 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002823/1.222, allocations: 2.557 MB / 0.9228 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.224, allocations: 449.1 kB / 0.9233 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.24, allocations: 9.676 MB / 0.9327 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00357/1.244, allocations: 3.766 MB / 0.9364 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00531/1.249, allocations: 2.202 MB / 0.9385 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.25, allocations: 295.3 kB / 0.9388 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/1.25, allocations: 0 / 0.9388 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.3332/1.584, allocations: 45.98 MB / 0.9837 GB, free: 119.4 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