Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001616, allocations: 108.7 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.202/0.202, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3387, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01452/0.3533, allocations: 13.15 MB / 0.5324 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3634, allocations: 4.286 MB / 0.5366 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.3661, allocations: 82.66 kB / 0.5367 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006976/0.3732, allocations: 3.717 MB / 0.5403 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00644/0.3797, allocations: 2.027 MB / 0.5423 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.3823, allocations: 0.8053 MB / 0.5431 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007325/0.3896, allocations: 4.227 MB / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007291/0.3969, allocations: 4.854 MB / 0.5519 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.4007, allocations: 1.865 MB / 0.5538 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003943/0.4047, allocations: 2.488 MB / 0.5562 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.4062, allocations: 423.9 kB / 0.5566 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.4093, allocations: 1.151 MB / 0.5577 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002673/0.412, allocations: 2.256 MB / 0.5599 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004639/0.4166, allocations: 2.641 MB / 0.5625 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.427, allocations: 8.241 MB / 0.5706 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.427, allocations: 0 / 0.5706 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.427, allocations: 0 / 0.5706 GB, free: 7.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002854/0.4273, allocations: 0 / 0.5706 GB, free: 7.652 MB / 430.1 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.02229/0.4496, allocations: 6.239 MB / 0.5766 GB, free: 1.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4497, allocations: 16.03 kB / 0.5767 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/0.4573, allocations: 1.952 MB / 0.5786 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005539/0.4629, allocations: 2.722 MB / 0.5812 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.4632, allocations: 295.6 kB / 0.5815 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.4649, allocations: 391.8 kB / 0.5819 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/0.4901, allocations: 12.39 MB / 0.594 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002459/0.4904, allocations: 55.48 kB / 0.594 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001333/0.4917, allocations: 183.8 kB / 0.5942 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004458/0.4962, allocations: 2.253 MB / 0.5964 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02287/0.5191, allocations: 11.36 MB / 0.6075 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06072/0.5799, allocations: 46.29 MB / 0.6527 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/0.598, allocations: 5.481 MB / 0.6581 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004428/0.6025, allocations: 3.44 MB / 0.6614 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.6036, allocations: 0.6987 MB / 0.6621 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.6037, allocations: 55.88 kB / 0.6621 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=203): time 4.589e-06/0.6037, allocations: 0 / 0.6621 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=234): time 0.07852/0.6822, allocations: 27.34 MB / 0.6888 GB, free: 12.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.6823, allocations: 154.5 kB / 0.689 GB, free: 11.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008082/0.6904, allocations: 4.411 MB / 0.6933 GB, free: 7.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006742/0.6911, allocations: 61.7 kB / 0.6934 GB, free: 7.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002719/0.6939, allocations: 3.427 MB / 0.6967 GB, free: 3.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001338/0.6952, allocations: 0.883 MB / 0.6976 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00331/0.6986, allocations: 1.43 MB / 0.699 GB, free: 1.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6987, allocations: 301.1 kB / 0.6993 GB, free: 1.297 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004916/0.7036, allocations: 3.28 MB / 0.7025 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008169/0.7118, allocations: 7.108 MB / 0.7094 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2429/0.9548, allocations: 11.18 MB / 0.7203 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-05/0.9549, allocations: 42.38 kB / 0.7204 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01977/0.9747, allocations: 11.32 MB / 0.7314 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.9749, allocations: 66.59 kB / 0.7315 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002248/0.9751, allocations: 133.7 kB / 0.7316 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.978, allocations: 1.121 MB / 0.7327 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005705/0.9837, allocations: 1.696 MB / 0.7344 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/0.9903, allocations: 6.344 MB / 0.7405 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004956/0.9953, allocations: 400 kB / 0.7409 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/0.9963, allocations: 446.4 kB / 0.7414 GB, free: 150.9 MB / 0.5606 GB 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.003768/1, allocations: 2.332 MB / 0.7436 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009188/1.001, allocations: 400.9 kB / 0.744 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008882/1.01, allocations: 6.185 MB / 0.7501 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/1.01, allocations: 28 kB / 0.7501 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.01, allocations: 6.297 kB / 0.7501 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.01, allocations: 15.95 kB / 0.7501 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.028, allocations: 12.95 MB / 0.7627 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/1.028, allocations: 10.88 kB / 0.7628 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00267/1.031, allocations: 0.549 MB / 0.7633 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/1.033, allocations: 0.9489 MB / 0.7642 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003873/1.033, allocations: 83.89 kB / 0.7643 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/1.039, allocations: 6.095 MB / 0.7703 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.039, allocations: 9.359 kB / 0.7703 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/1.051, allocations: 10.47 MB / 0.7805 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.053, allocations: 0.8825 MB / 0.7814 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.054, allocations: 47.98 kB / 0.7814 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/1.057, allocations: 163.7 kB / 0.7816 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005495/1.058, allocations: 189.6 kB / 0.7817 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002822/1.058, allocations: 103.9 kB / 0.7818 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003853/1.062, allocations: 2.774 MB / 0.7845 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.062, allocations: 0 / 0.7845 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005805/1.068, allocations: 1.21 MB / 0.7857 GB, free: 111.2 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.0007635/1.068, allocations: 184.4 kB / 0.7859 GB, free: 111 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009842/1.078, allocations: 7.754 MB / 0.7935 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.078, allocations: 4.188 kB / 0.7935 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003806/1.082, allocations: 3.023 MB / 0.7964 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/1.086, allocations: 0.4985 MB / 0.7969 GB, free: 99.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/1.105, allocations: 12.45 MB / 0.8091 GB, free: 87.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004122/1.109, allocations: 3.666 MB / 0.8127 GB, free: 83.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/1.111, allocations: 471 kB / 0.8131 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/1.111, allocations: 0 / 0.8131 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.1002/1.211, allocations: 94.61 MB / 0.9055 GB, free: 4.512 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches