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.000819/0.0008191, allocations: 97.12 kB / 18.01 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009012/0.0009013, allocations: 200.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 247.5 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 46.18 MB / 345.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.000258, allocations: 8.234 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1071, allocations: 63.56 MB / 483.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2498/0.357, allocations: 44.51 MB / 0.5159 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02099/0.378, allocations: 9.48 MB / 0.5251 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009288/0.3873, allocations: 191.3 kB / 0.5253 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.3891, allocations: 404.8 kB / 0.5257 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005714/0.3948, allocations: 1.654 MB / 0.5273 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.3967, allocations: 0.5262 MB / 0.5278 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007128/0.4038, allocations: 5.213 MB / 0.5329 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007249/0.4111, allocations: 5.128 MB / 0.5379 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.4135, allocations: 1.053 MB / 0.5389 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.4163, allocations: 1.82 MB / 0.5407 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008033/0.4171, allocations: 129.4 kB / 0.5408 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.4193, allocations: 0.9116 MB / 0.5417 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.4211, allocations: 1.582 MB / 0.5433 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003274/0.4244, allocations: 1.855 MB / 0.5451 GB, free: 268 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006442/0.4309, allocations: 5.126 MB / 0.5501 GB, free: 12.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4309, allocations: 4 kB / 0.5501 GB, free: 12.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4309, allocations: 0 / 0.5501 GB, free: 12.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002797/0.4312, allocations: 0 / 0.5501 GB, free: 12.55 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.01617/0.4474, allocations: 4.189 MB / 0.5542 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4475, allocations: 8.031 kB / 0.5542 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007232/0.4547, allocations: 1.91 MB / 0.5561 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004548/0.4593, allocations: 2.207 MB / 0.5582 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.4595, allocations: 220 kB / 0.5584 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.4607, allocations: 306.8 kB / 0.5587 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02004/0.4808, allocations: 10.05 MB / 0.5685 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/0.481, allocations: 43.59 kB / 0.5686 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009685/0.482, allocations: 147.1 kB / 0.5687 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003371/0.4854, allocations: 1.802 MB / 0.5705 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.5042, allocations: 9.053 MB / 0.5793 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0457/0.5499, allocations: 37.18 MB / 0.6156 GB, free: 8.008 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.5633, allocations: 3.72 MB / 0.6193 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002398/0.5658, allocations: 1.711 MB / 0.6209 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009598/0.5668, allocations: 0.6839 MB / 0.6216 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.5668, allocations: 51.06 kB / 0.6217 GB, free: 1.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 4.769e-06/0.5668, allocations: 0 / 0.6217 GB, free: 1.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04459/0.6114, allocations: 12.9 MB / 0.6343 GB, free: 4.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.6116, allocations: 141.2 kB / 0.6344 GB, free: 4.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006421/0.618, allocations: 3.959 MB / 0.6383 GB, free: 448 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003116/0.6183, allocations: 45.7 kB / 0.6383 GB, free: 396 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002299/0.6207, allocations: 2.979 MB / 0.6412 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008103/0.6215, allocations: 0.5553 MB / 0.6418 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008737/0.6224, allocations: 474.1 kB / 0.6422 GB, free: 12.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.6225, allocations: 309 kB / 0.6425 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003169/0.6256, allocations: 1.947 MB / 0.6444 GB, free: 10.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005477/0.6311, allocations: 5.502 MB / 0.6498 GB, free: 2.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009139/0.6403, allocations: 8.066 MB / 0.6576 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/0.6405, allocations: 36 kB / 0.6577 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01523/0.6557, allocations: 7.93 MB / 0.6654 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.6559, allocations: 62.34 kB / 0.6655 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/0.6561, allocations: 128 kB / 0.6656 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/0.6587, allocations: 0.9025 MB / 0.6665 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/0.6628, allocations: 1.283 MB / 0.6677 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006478/0.6693, allocations: 4.866 MB / 0.6725 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004026/0.6733, allocations: 303.7 kB / 0.6728 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009344/0.6743, allocations: 358.4 kB / 0.6731 GB, free: 9.059 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.003865/0.6782, allocations: 1.978 MB / 0.6751 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007576/0.6789, allocations: 331.7 kB / 0.6754 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00575/0.6847, allocations: 2.79 MB / 0.6781 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.256e-05/0.6848, allocations: 16 kB / 0.6781 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.6848, allocations: 11.88 kB / 0.6781 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.6848, allocations: 7.969 kB / 0.6781 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.6989, allocations: 7.217 MB / 0.6852 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.699, allocations: 3.938 kB / 0.6852 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.7002, allocations: 259.8 kB / 0.6854 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.7025, allocations: 0.7185 MB / 0.6861 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.7027, allocations: 31.98 kB / 0.6862 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005939/0.7086, allocations: 4.421 MB / 0.6905 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7087, allocations: 0 / 0.6905 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008694/0.7174, allocations: 5.148 MB / 0.6955 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009073/0.7183, allocations: 396.7 kB / 0.6959 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006582/0.719, allocations: 20 kB / 0.6959 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.7206, allocations: 87.84 kB / 0.696 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.7209, allocations: 84.52 kB / 0.6961 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.7211, allocations: 50.94 kB / 0.6961 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004655/0.7258, allocations: 2.481 MB / 0.6985 GB, free: 14.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7258, allocations: 0 / 0.6985 GB, free: 14.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00475/0.7305, allocations: 0.8788 MB / 0.6994 GB, free: 13.89 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.0005012/0.7311, allocations: 148.9 kB / 0.6995 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007505/0.7386, allocations: 4.604 MB / 0.704 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7386, allocations: 0 / 0.704 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/0.7406, allocations: 1.38 MB / 0.7054 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/0.7443, allocations: 405.3 kB / 0.7058 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2481/0.9924, allocations: 10.71 MB / 0.7162 GB, free: 153.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005374/0.9979, allocations: 3.06 MB / 0.7192 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.999, allocations: 296.5 kB / 0.7195 GB, free: 153.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.999, allocations: 1.188 kB / 0.7195 GB, free: 153.2 MB / 0.545 GB Notification: Performance of Templates: time 0.08795/1.087, allocations: 69.56 MB / 0.7874 GB, free: 105.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/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