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.001263/0.001263, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 75.53 kB / 416.8 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1208, allocations: 62.46 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3204/0.4412, allocations: 45.72 MB / 0.5127 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02303/0.4643, allocations: 9.533 MB / 0.522 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01258/0.4769, allocations: 192.8 kB / 0.5222 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006039/0.4831, allocations: 2.673 MB / 0.5248 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005654/0.4888, allocations: 1.638 MB / 0.5264 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.4906, allocations: 0.6452 MB / 0.5271 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006214/0.4968, allocations: 5.216 MB / 0.5321 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004549/0.5014, allocations: 3.693 MB / 0.5358 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.5042, allocations: 1.295 MB / 0.537 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003745/0.508, allocations: 2.13 MB / 0.5391 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.5092, allocations: 239.8 kB / 0.5393 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.5123, allocations: 1.013 MB / 0.5403 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.5143, allocations: 1.726 MB / 0.542 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002708/0.517, allocations: 2.019 MB / 0.544 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009123/0.5261, allocations: 6.385 MB / 0.5502 GB, free: 9.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.5262, allocations: 0 / 0.5502 GB, free: 9.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5262, allocations: 0 / 0.5502 GB, free: 9.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002792/0.5265, allocations: 0 / 0.5502 GB, free: 9.43 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.01874/0.5453, allocations: 5.072 MB / 0.5552 GB, free: 4.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5453, allocations: 11.97 kB / 0.5552 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.552, allocations: 1.854 MB / 0.557 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.5564, allocations: 2.207 MB / 0.5591 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.5566, allocations: 220.1 kB / 0.5593 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008446/0.5574, allocations: 301.5 kB / 0.5596 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/0.5777, allocations: 10.05 MB / 0.5694 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/0.578, allocations: 39.66 kB / 0.5695 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/0.5792, allocations: 146.2 kB / 0.5696 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0038/0.5831, allocations: 1.802 MB / 0.5714 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/0.6057, allocations: 9.034 MB / 0.5802 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05102/0.6568, allocations: 37.21 MB / 0.6165 GB, free: 4.141 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/0.6713, allocations: 3.709 MB / 0.6202 GB, free: 288 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003088/0.6744, allocations: 1.71 MB / 0.6218 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.6757, allocations: 0.6824 MB / 0.6225 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.276e-05/0.6759, allocations: 47.06 kB / 0.6225 GB, free: 13.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 6.853e-06/0.6759, allocations: 0 / 0.6225 GB, free: 13.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.0454/0.7213, allocations: 12.88 MB / 0.6351 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/0.7214, allocations: 145.2 kB / 0.6353 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007027/0.7284, allocations: 3.955 MB / 0.6391 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003985/0.7289, allocations: 52.28 kB / 0.6392 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002229/0.7311, allocations: 2.963 MB / 0.6421 GB, free: 9.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009678/0.7321, allocations: 0.5459 MB / 0.6426 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002621/0.7347, allocations: 1.136 MB / 0.6437 GB, free: 7.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7349, allocations: 309 kB / 0.644 GB, free: 7.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/0.738, allocations: 1.931 MB / 0.6459 GB, free: 5.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005562/0.7436, allocations: 5.501 MB / 0.6513 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.754, allocations: 8.056 MB / 0.6591 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000254/0.7543, allocations: 36 kB / 0.6592 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01737/0.7717, allocations: 7.93 MB / 0.6669 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.7719, allocations: 60 kB / 0.667 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002158/0.7721, allocations: 128 kB / 0.6671 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/0.7747, allocations: 0.8985 MB / 0.668 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/0.7789, allocations: 1.279 MB / 0.6692 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/0.7855, allocations: 4.854 MB / 0.674 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/0.7898, allocations: 297.8 kB / 0.6742 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.7909, allocations: 360 kB / 0.6746 GB, free: 4.57 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.00405/0.7949, allocations: 1.974 MB / 0.6765 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008681/0.7958, allocations: 327.8 kB / 0.6768 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005724/0.8016, allocations: 2.782 MB / 0.6795 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.832e-05/0.8016, allocations: 23.05 kB / 0.6796 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.8016, allocations: 7.938 kB / 0.6796 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.8017, allocations: 7.969 kB / 0.6796 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/0.8181, allocations: 7.195 MB / 0.6866 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.8181, allocations: 8.031 kB / 0.6866 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.8194, allocations: 243.7 kB / 0.6868 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.8216, allocations: 0.7224 MB / 0.6875 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/0.8218, allocations: 27.98 kB / 0.6876 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006185/0.828, allocations: 4.426 MB / 0.6919 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.828, allocations: 3.938 kB / 0.6919 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008409/0.8364, allocations: 5.136 MB / 0.6969 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.8377, allocations: 376.9 kB / 0.6973 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008382/0.8386, allocations: 24 kB / 0.6973 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.8403, allocations: 90.23 kB / 0.6974 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/0.8406, allocations: 88.53 kB / 0.6975 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.8408, allocations: 47.97 kB / 0.6975 GB, free: 12.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005222/0.846, allocations: 2.481 MB / 0.6999 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.01e-07/0.846, allocations: 0 / 0.6999 GB, free: 10.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0064/0.8524, allocations: 0.879 MB / 0.7008 GB, free: 9.469 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.0006685/0.8531, allocations: 153.5 kB / 0.7009 GB, free: 9.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008022/0.8611, allocations: 4.595 MB / 0.7054 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.8612, allocations: 0 / 0.7054 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002257/0.8634, allocations: 1.362 MB / 0.7068 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/0.8668, allocations: 398.5 kB / 0.7071 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2506/1.117, allocations: 10.2 MB / 0.7171 GB, free: 192.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005513/1.123, allocations: 3.066 MB / 0.7201 GB, free: 191.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006187/1.129, allocations: 1.788 MB / 0.7218 GB, free: 191.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009872/1.13, allocations: 248.6 kB / 0.7221 GB, free: 191.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.263e-06/1.13, allocations: 3.531 kB / 0.7221 GB, free: 191.3 MB / 0.545 GB Notification: Performance of Templates: time 0.06901/1.199, allocations: 33.76 MB / 0.755 GB, free: 173.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