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.001026/0.001026, allocations: 92.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.19 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.0002558, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 63.56 MB / 483.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3068/0.4321, allocations: 44.51 MB / 0.5152 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0257/0.4578, allocations: 9.476 MB / 0.5245 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01141/0.4693, allocations: 195.5 kB / 0.5247 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.4712, allocations: 404.3 kB / 0.5251 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.4764, allocations: 1.653 MB / 0.5267 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.4779, allocations: 0.5321 MB / 0.5272 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00725/0.4852, allocations: 5.215 MB / 0.5323 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006672/0.4919, allocations: 5.115 MB / 0.5373 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.4939, allocations: 1.056 MB / 0.5383 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.4959, allocations: 1.82 MB / 0.5401 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003364/0.4963, allocations: 128.8 kB / 0.5402 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.4982, allocations: 0.9118 MB / 0.5411 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.4996, allocations: 1.583 MB / 0.5426 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.5014, allocations: 1.855 MB / 0.5445 GB, free: 76 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006294/0.5077, allocations: 6.188 MB / 0.5505 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5077, allocations: 0 / 0.5505 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5077, allocations: 0 / 0.5505 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001006/0.5078, allocations: 4 kB / 0.5505 GB, free: 11.35 MB / 398.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.01591/0.5237, allocations: 4.183 MB / 0.5546 GB, free: 7.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.5238, allocations: 8.031 kB / 0.5546 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007129/0.5309, allocations: 1.916 MB / 0.5565 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/0.5354, allocations: 2.21 MB / 0.5586 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.5357, allocations: 223.7 kB / 0.5588 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009145/0.5366, allocations: 302.3 kB / 0.5591 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.5554, allocations: 10.06 MB / 0.569 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.5555, allocations: 43.59 kB / 0.569 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004368/0.556, allocations: 141.3 kB / 0.5691 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003154/0.5592, allocations: 1.803 MB / 0.5709 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.578, allocations: 9.06 MB / 0.5797 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04717/0.6252, allocations: 37.19 MB / 0.6161 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/0.6385, allocations: 3.719 MB / 0.6197 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.6408, allocations: 1.711 MB / 0.6214 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008894/0.6417, allocations: 0.6772 MB / 0.622 GB, free: 432 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.6418, allocations: 47.17 kB / 0.6221 GB, free: 376 kB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.907e-06/0.6418, allocations: 3.938 kB / 0.6221 GB, free: 372 kB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04286/0.6847, allocations: 12.91 MB / 0.6347 GB, free: 3.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.6848, allocations: 137.2 kB / 0.6348 GB, free: 3.172 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005632/0.6904, allocations: 3.959 MB / 0.6387 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.6907, allocations: 45.7 kB / 0.6387 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/0.6929, allocations: 2.971 MB / 0.6416 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005859/0.6935, allocations: 0.551 MB / 0.6422 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005294/0.694, allocations: 478.1 kB / 0.6426 GB, free: 11.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.6941, allocations: 305.1 kB / 0.6429 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/0.6968, allocations: 1.935 MB / 0.6448 GB, free: 8.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00507/0.7019, allocations: 5.513 MB / 0.6502 GB, free: 1.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008751/0.7106, allocations: 8.064 MB / 0.6581 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.929e-05/0.7107, allocations: 36 kB / 0.6581 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01367/0.7244, allocations: 7.939 MB / 0.6658 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.456e-05/0.7245, allocations: 60.38 kB / 0.6659 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/0.7246, allocations: 124 kB / 0.666 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/0.7271, allocations: 0.91 MB / 0.6669 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003913/0.731, allocations: 1.287 MB / 0.6682 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006526/0.7375, allocations: 4.847 MB / 0.6729 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/0.7422, allocations: 307.7 kB / 0.6732 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006668/0.7429, allocations: 358.9 kB / 0.6735 GB, free: 7.805 MB / 0.5137 GB 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.003526/0.7464, allocations: 1.967 MB / 0.6755 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000595/0.747, allocations: 327.7 kB / 0.6758 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005584/0.7526, allocations: 2.798 MB / 0.6785 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/0.7526, allocations: 16 kB / 0.6785 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.7527, allocations: 7.938 kB / 0.6785 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.7527, allocations: 7.984 kB / 0.6785 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.7653, allocations: 7.216 MB / 0.6856 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.7653, allocations: 7.938 kB / 0.6856 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.7665, allocations: 259.7 kB / 0.6858 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.7686, allocations: 0.7147 MB / 0.6865 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.7688, allocations: 34.47 kB / 0.6866 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005735/0.7745, allocations: 4.425 MB / 0.6909 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7745, allocations: 4.031 kB / 0.6909 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00784/0.7824, allocations: 5.142 MB / 0.6959 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009152/0.7833, allocations: 388.7 kB / 0.6963 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003179/0.7837, allocations: 27.98 kB / 0.6963 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7848, allocations: 83.84 kB / 0.6964 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.7851, allocations: 92.45 kB / 0.6965 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.7853, allocations: 53.92 kB / 0.6965 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003856/0.7891, allocations: 2.477 MB / 0.6989 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/0.7892, allocations: 0 / 0.6989 GB, free: 13.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00454/0.7937, allocations: 0.879 MB / 0.6998 GB, free: 12.64 MB / 0.545 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.0004221/0.7941, allocations: 149.3 kB / 0.6999 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007199/0.8013, allocations: 4.604 MB / 0.7044 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8014, allocations: 4.406 kB / 0.7044 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.8033, allocations: 1.378 MB / 0.7058 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.8066, allocations: 407.7 kB / 0.7062 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3104/1.117, allocations: 10.28 MB / 0.7162 GB, free: 153.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004636/1.122, allocations: 3.061 MB / 0.7192 GB, free: 152.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006279/1.128, allocations: 1.788 MB / 0.721 GB, free: 152.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.129, allocations: 251.2 kB / 0.7212 GB, free: 152.9 MB / 0.545 GB Notification: Performance of SimCode: time 3.296e-06/1.129, allocations: 1.219 kB / 0.7212 GB, free: 152.9 MB / 0.545 GB Notification: Performance of Templates: time 0.07171/1.201, allocations: 33.26 MB / 0.7537 GB, free: 138.3 MB / 0.545 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/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