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.001333/0.001332, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 105.6 kB / 296.7 MB, free: 6.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3352/0.3352, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3338, allocations: 62.01 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.05038/0.3842, allocations: 65.62 MB / 0.5792 GB, free: 6.926 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03349/0.4177, allocations: 12.98 MB / 0.5919 GB, free: 10.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01545/0.4332, allocations: 279.4 kB / 0.5922 GB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007618/0.441, allocations: 3.709 MB / 0.5958 GB, free: 6.762 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006949/0.4479, allocations: 1.876 MB / 0.5976 GB, free: 4.879 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.4504, allocations: 0.745 MB / 0.5984 GB, free: 4.133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008318/0.4587, allocations: 6.331 MB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00706/0.4658, allocations: 4.828 MB / 0.6093 GB, free: 8.891 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.4692, allocations: 1.678 MB / 0.6109 GB, free: 7.207 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005288/0.4745, allocations: 2.652 MB / 0.6135 GB, free: 4.547 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.4763, allocations: 315.9 kB / 0.6138 GB, free: 4.238 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00485/0.4812, allocations: 1.081 MB / 0.6148 GB, free: 3.156 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003186/0.4844, allocations: 2.155 MB / 0.617 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003924/0.4884, allocations: 2.547 MB / 0.6194 GB, free: 14.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009548/0.4979, allocations: 7.885 MB / 0.6271 GB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.498, allocations: 4 kB / 0.6271 GB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.498, allocations: 0 / 0.6271 GB, free: 6.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003618/0.4984, allocations: 0 / 0.6271 GB, free: 6.52 MB / 442.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.02291/0.5213, allocations: 6.29 MB / 0.6333 GB, free: 164 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5213, allocations: 8.031 kB / 0.6333 GB, free: 156 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009467/0.5308, allocations: 1.987 MB / 0.6352 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006996/0.5379, allocations: 2.651 MB / 0.6378 GB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.5382, allocations: 291.6 kB / 0.6381 GB, free: 11.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.5397, allocations: 391.8 kB / 0.6385 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.5645, allocations: 12.39 MB / 0.6506 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/0.5648, allocations: 47.44 kB / 0.6506 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/0.5661, allocations: 183.8 kB / 0.6508 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004353/0.5705, allocations: 2.253 MB / 0.653 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02392/0.5944, allocations: 11.35 MB / 0.6641 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3345/0.929, allocations: 46.51 MB / 0.7095 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/0.946, allocations: 5.473 MB / 0.7148 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00664/0.9527, allocations: 3.435 MB / 0.7182 GB, free: 98.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.954, allocations: 0.6998 MB / 0.7189 GB, free: 97.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.9541, allocations: 51.88 kB / 0.7189 GB, free: 97.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=203): time 1.068e-05/0.9541, allocations: 3 kB / 0.7189 GB, free: 97.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=234): time 0.07222/1.026, allocations: 27.36 MB / 0.7456 GB, free: 87.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/1.026, allocations: 161.5 kB / 0.7458 GB, free: 87.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005712/1.032, allocations: 4.408 MB / 0.7501 GB, free: 83.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005854/1.033, allocations: 65.22 kB / 0.7502 GB, free: 83.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001813/1.035, allocations: 3.422 MB / 0.7535 GB, free: 80.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.036, allocations: 0.8859 MB / 0.7544 GB, free: 79.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/1.038, allocations: 1.418 MB / 0.7558 GB, free: 78.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.836e-05/1.038, allocations: 305.1 kB / 0.7561 GB, free: 77.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00383/1.041, allocations: 3.28 MB / 0.7593 GB, free: 74.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004887/1.046, allocations: 7.108 MB / 0.7662 GB, free: 65.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.056, allocations: 11.19 MB / 0.7771 GB, free: 52.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/1.057, allocations: 36 kB / 0.7772 GB, free: 52.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01784/1.074, allocations: 11.32 MB / 0.7882 GB, free: 41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.119e-05/1.075, allocations: 67.94 kB / 0.7883 GB, free: 40.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/1.075, allocations: 132 kB / 0.7884 GB, free: 40.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/1.077, allocations: 1.119 MB / 0.7895 GB, free: 39.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005828/1.083, allocations: 1.692 MB / 0.7912 GB, free: 37.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/1.09, allocations: 6.016 MB / 0.797 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005778/1.095, allocations: 403.7 kB / 0.7974 GB, free: 31.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/1.097, allocations: 443.8 kB / 0.7978 GB, free: 31.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 815 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004048/1.101, allocations: 2.334 MB / 0.8001 GB, free: 28.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.102, allocations: 398.8 kB / 0.8005 GB, free: 28.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009156/1.111, allocations: 6.191 MB / 0.8065 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-05/1.111, allocations: 28 kB / 0.8066 GB, free: 22.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.111, allocations: 7.938 kB / 0.8066 GB, free: 22.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/1.111, allocations: 7.969 kB / 0.8066 GB, free: 22.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/1.132, allocations: 13.08 MB / 0.8194 GB, free: 8.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.132, allocations: 4 kB / 0.8194 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/1.134, allocations: 0.5382 MB / 0.8199 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/1.137, allocations: 0.9451 MB / 0.8208 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003309/1.137, allocations: 83.89 kB / 0.8209 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006054/1.143, allocations: 5.748 MB / 0.8265 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.143, allocations: 4.906 kB / 0.8265 GB, free: 1.395 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08938/1.233, allocations: 50.38 MB / 0.8757 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003031/1.236, allocations: 0.8939 MB / 0.8766 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.237, allocations: 40 kB / 0.8766 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002687/1.24, allocations: 167.8 kB / 0.8768 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000586/1.24, allocations: 189.6 kB / 0.877 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/1.24, allocations: 103.9 kB / 0.877 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004487/1.245, allocations: 2.77 MB / 0.8798 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.3e-07/1.245, allocations: 0 / 0.8798 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007119/1.252, allocations: 1.591 MB / 0.8813 GB, free: 8.906 MB / 0.5417 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007366/1.253, allocations: 188.8 kB / 0.8815 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.265, allocations: 7.717 MB / 0.889 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/1.265, allocations: 4.188 kB / 0.889 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.2415/1.506, allocations: 3.021 MB / 0.892 GB, free: 181 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/1.509, allocations: 489.7 kB / 0.8924 GB, free: 181 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/1.531, allocations: 16.08 MB / 0.9082 GB, free: 174.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004481/1.536, allocations: 3.742 MB / 0.9118 GB, free: 172.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006836/1.542, allocations: 2.315 MB / 0.9141 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/1.545, allocations: 425 kB / 0.9145 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/1.545, allocations: 0 / 0.9145 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.1115/1.656, allocations: 66.62 MB / 0.9795 GB, free: 124 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@2/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