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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001044, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1923/0.1923, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 75.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 62.43 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01283/0.2904, allocations: 13.04 MB / 0.5444 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008464/0.299, allocations: 4.286 MB / 0.5486 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.3011, allocations: 86.44 kB / 0.5487 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006289/0.3074, allocations: 3.71 MB / 0.5523 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00507/0.3125, allocations: 2.019 MB / 0.5543 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.3145, allocations: 0.811 MB / 0.555 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005863/0.3204, allocations: 4.225 MB / 0.5592 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005984/0.3265, allocations: 4.842 MB / 0.5639 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.3295, allocations: 1.846 MB / 0.5657 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00343/0.3329, allocations: 2.465 MB / 0.5681 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.334, allocations: 416 kB / 0.5685 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.3365, allocations: 1.131 MB / 0.5696 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.3389, allocations: 2.209 MB / 0.5718 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00395/0.3429, allocations: 2.595 MB / 0.5743 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008445/0.3514, allocations: 8.082 MB / 0.5822 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3514, allocations: 0 / 0.5822 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3514, allocations: 0 / 0.5822 GB, free: 13.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002565/0.3517, allocations: 0 / 0.5822 GB, free: 13.7 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.0194/0.3711, allocations: 6.208 MB / 0.5883 GB, free: 7.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3711, allocations: 8.031 kB / 0.5883 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006753/0.3779, allocations: 1.96 MB / 0.5902 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/0.3834, allocations: 2.687 MB / 0.5928 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.3837, allocations: 287.5 kB / 0.5931 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/0.3851, allocations: 391.8 kB / 0.5934 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/0.4071, allocations: 12.21 MB / 0.6054 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.4074, allocations: 51.44 kB / 0.6054 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009293/0.4083, allocations: 183.8 kB / 0.6056 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003638/0.4119, allocations: 2.19 MB / 0.6077 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02108/0.433, allocations: 11.21 MB / 0.6187 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05668/0.4898, allocations: 45.87 MB / 0.6635 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/0.5065, allocations: 5.488 MB / 0.6688 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00416/0.5107, allocations: 3.43 MB / 0.6722 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009822/0.5117, allocations: 0.6987 MB / 0.6729 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.5118, allocations: 51.98 kB / 0.6729 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 5.4e-06/0.5118, allocations: 7.938 kB / 0.6729 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.07135/0.5831, allocations: 27.31 MB / 0.6996 GB, free: 3.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.5833, allocations: 154.5 kB / 0.6997 GB, free: 2.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006342/0.5896, allocations: 4.399 MB / 0.704 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005503/0.5902, allocations: 57.7 kB / 0.7041 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002246/0.5924, allocations: 3.388 MB / 0.7074 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001174/0.5936, allocations: 0.8791 MB / 0.7083 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002579/0.5962, allocations: 1.411 MB / 0.7096 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.5963, allocations: 313 kB / 0.7099 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/0.6007, allocations: 3.277 MB / 0.7131 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2264/0.827, allocations: 7.086 MB / 0.7201 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/0.8389, allocations: 11.15 MB / 0.7309 GB, free: 151 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000226/0.8392, allocations: 38.88 kB / 0.731 GB, free: 151 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01658/0.8557, allocations: 11.29 MB / 0.742 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/0.8559, allocations: 61.97 kB / 0.7421 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.856, allocations: 136.5 kB / 0.7422 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/0.8582, allocations: 1.12 MB / 0.7433 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005046/0.8633, allocations: 1.692 MB / 0.7449 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/0.8692, allocations: 6.356 MB / 0.7512 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004656/0.8739, allocations: 387.6 kB / 0.7515 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007783/0.8747, allocations: 443.8 kB / 0.7519 GB, free: 141.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.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 (816): * Single equations (assignments): 812 * 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.00278/0.8775, allocations: 2.308 MB / 0.7542 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006515/0.8781, allocations: 398.4 kB / 0.7546 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/0.8857, allocations: 6.191 MB / 0.7606 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/0.8857, allocations: 27.67 kB / 0.7607 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.8857, allocations: 4 kB / 0.7607 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.8858, allocations: 11.95 kB / 0.7607 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/0.9018, allocations: 12.88 MB / 0.7732 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.9018, allocations: 7.984 kB / 0.7733 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/0.9042, allocations: 0.5382 MB / 0.7738 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002045/0.9063, allocations: 0.9532 MB / 0.7747 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003117/0.9066, allocations: 87.89 kB / 0.7748 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005546/0.9121, allocations: 6.095 MB / 0.7807 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9122, allocations: 10.62 kB / 0.7808 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.9234, allocations: 10.47 MB / 0.791 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/0.9252, allocations: 0.8903 MB / 0.7919 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006249/0.9258, allocations: 40 kB / 0.7919 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/0.9278, allocations: 171.7 kB / 0.7921 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/0.9283, allocations: 177.6 kB / 0.7922 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/0.9285, allocations: 111.5 kB / 0.7923 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003208/0.9317, allocations: 2.769 MB / 0.795 GB, free: 97.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.9317, allocations: 0 / 0.795 GB, free: 97.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005498/0.9372, allocations: 1.182 MB / 0.7962 GB, free: 96.38 MB / 0.5606 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.0005041/0.9378, allocations: 183.6 kB / 0.7964 GB, free: 96.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009112/0.9469, allocations: 7.74 MB / 0.8039 GB, free: 88.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.9469, allocations: 0 / 0.8039 GB, free: 88.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003352/0.9503, allocations: 3.02 MB / 0.8069 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.953, allocations: 0.4927 MB / 0.8074 GB, free: 84.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.9693, allocations: 12.35 MB / 0.8194 GB, free: 72.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002915/0.9723, allocations: 3.623 MB / 0.8229 GB, free: 68.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/0.974, allocations: 464.4 kB / 0.8234 GB, free: 68.46 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.974, allocations: 0 / 0.8234 GB, free: 68.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.09347/1.067, allocations: 93.69 MB / 0.9149 GB, free: 6.805 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches