Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.001219, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2059/0.2059, allocations: 46.11 MB / 344.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.89 kB / 419 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1111, allocations: 62.44 MB / 481.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01154/0.1226, allocations: 11.04 MB / 492.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006517/0.1292, allocations: 3.831 MB / 496.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/0.1299, allocations: 63.81 kB / 496.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004164/0.1341, allocations: 2.675 MB / 499.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.1371, allocations: 1.766 MB / 0.4891 GB, free: 1.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.1383, allocations: 0.6901 MB / 0.4898 GB, free: 356 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00352/0.1418, allocations: 3.571 MB / 0.4933 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/0.1452, allocations: 3.695 MB / 0.4969 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.1467, allocations: 1.468 MB / 0.4983 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.1486, allocations: 1.998 MB / 0.5002 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004157/0.1491, allocations: 320 kB / 0.5006 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.1506, allocations: 1.045 MB / 0.5016 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.1519, allocations: 1.781 MB / 0.5033 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.1535, allocations: 2.089 MB / 0.5054 GB, free: 292 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1964/0.3499, allocations: 6.665 MB / 0.5119 GB, free: 18.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3499, allocations: 0 / 0.5119 GB, free: 18.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3499, allocations: 0 / 0.5119 GB, free: 18.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002027/0.3502, allocations: 0.9688 kB / 0.5119 GB, free: 18.51 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01691/0.3671, allocations: 5.072 MB / 0.5168 GB, free: 16.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3671, allocations: 9.625 kB / 0.5168 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006719/0.3739, allocations: 1.852 MB / 0.5186 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006383/0.3803, allocations: 2.248 MB / 0.5208 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.3806, allocations: 230.1 kB / 0.521 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.3818, allocations: 304.2 kB / 0.5213 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/0.4003, allocations: 10.04 MB / 0.5311 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.4004, allocations: 40.53 kB / 0.5312 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/0.4008, allocations: 142.1 kB / 0.5313 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002574/0.4034, allocations: 1.811 MB / 0.5331 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.4184, allocations: 9.018 MB / 0.5419 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03832/0.4567, allocations: 37.07 MB / 0.5781 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.469, allocations: 3.718 MB / 0.5817 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.4711, allocations: 1.702 MB / 0.5834 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008863/0.4719, allocations: 0.6797 MB / 0.5841 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.472, allocations: 58.58 kB / 0.5841 GB, free: 10.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.656e-06/0.472, allocations: 0 / 0.5841 GB, free: 10.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.03859/0.5106, allocations: 12.88 MB / 0.5967 GB, free: 13.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.5107, allocations: 137.2 kB / 0.5968 GB, free: 13.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005049/0.5158, allocations: 3.957 MB / 0.6007 GB, free: 9.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.5159, allocations: 42.92 kB / 0.6007 GB, free: 9.766 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001854/0.5178, allocations: 2.976 MB / 0.6036 GB, free: 6.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004914/0.5183, allocations: 0.5433 MB / 0.6042 GB, free: 6.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/0.5197, allocations: 1.134 MB / 0.6053 GB, free: 5.125 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.5198, allocations: 305.1 kB / 0.6056 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/0.5224, allocations: 1.934 MB / 0.6074 GB, free: 2.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004639/0.5271, allocations: 5.499 MB / 0.6128 GB, free: 11.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008168/0.5352, allocations: 8.067 MB / 0.6207 GB, free: 2.332 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.079e-05/0.5353, allocations: 39.94 kB / 0.6207 GB, free: 2.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01306/0.5484, allocations: 7.916 MB / 0.6285 GB, free: 10.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.5485, allocations: 60.19 kB / 0.6285 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.5486, allocations: 132 kB / 0.6286 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.551, allocations: 0.9067 MB / 0.6295 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/0.5546, allocations: 1.287 MB / 0.6308 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006211/0.5608, allocations: 5.18 MB / 0.6358 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/0.5646, allocations: 295.6 kB / 0.6361 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005566/0.5651, allocations: 359.9 kB / 0.6365 GB, free: 2.195 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (681): * Single equations (assignments): 677 * 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.003025/0.5682, allocations: 1.965 MB / 0.6384 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000573/0.5687, allocations: 331.9 kB / 0.6387 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/0.5738, allocations: 2.79 MB / 0.6414 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/0.5738, allocations: 22.56 kB / 0.6415 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5738, allocations: 4 kB / 0.6415 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.5738, allocations: 3.984 kB / 0.6415 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.5869, allocations: 7.182 MB / 0.6485 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5869, allocations: 0 / 0.6485 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.5881, allocations: 243.6 kB / 0.6487 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/0.5902, allocations: 0.7166 MB / 0.6494 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.5904, allocations: 31.97 kB / 0.6494 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005841/0.5963, allocations: 4.757 MB / 0.6541 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5963, allocations: 4.5 kB / 0.6541 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007609/0.6039, allocations: 5.131 MB / 0.6591 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009465/0.6049, allocations: 388.8 kB / 0.6595 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/0.6053, allocations: 23.98 kB / 0.6595 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.6064, allocations: 75.91 kB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.6067, allocations: 96.45 kB / 0.6597 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.6068, allocations: 55.81 kB / 0.6597 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003564/0.6104, allocations: 2.477 MB / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6104, allocations: 0 / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003867/0.6143, allocations: 0.8751 MB / 0.663 GB, free: 6.809 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003387/0.6146, allocations: 150.5 kB / 0.6631 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005953/0.6206, allocations: 4.613 MB / 0.6676 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6206, allocations: 0 / 0.6676 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.6224, allocations: 1.361 MB / 0.669 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.6243, allocations: 425.7 kB / 0.6694 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.6358, allocations: 8.317 MB / 0.6775 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003048/0.6389, allocations: 3.065 MB / 0.6805 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003762/0.6427, allocations: 1.786 MB / 0.6822 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/0.6433, allocations: 247.3 kB / 0.6825 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of SimCode: time 6.92e-07/0.6433, allocations: 4 kB / 0.6825 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of Templates: time 0.2492/0.8925, allocations: 30.01 MB / 0.7118 GB, free: 180.1 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches