Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 8.887 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 73.77 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 62.44 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.2754/0.3928, allocations: 61.59 MB / 0.5288 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03021/0.4231, allocations: 12.19 MB / 0.5407 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01334/0.4364, allocations: 267.2 kB / 0.541 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006271/0.4428, allocations: 3.703 MB / 0.5446 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.4485, allocations: 1.852 MB / 0.5464 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.4507, allocations: 0.755 MB / 0.5472 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007207/0.4579, allocations: 6.198 MB / 0.5532 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006127/0.4641, allocations: 4.823 MB / 0.5579 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.4675, allocations: 1.651 MB / 0.5595 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004173/0.4717, allocations: 2.625 MB / 0.5621 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.4727, allocations: 308 kB / 0.5624 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.4753, allocations: 1.084 MB / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002177/0.4775, allocations: 2.119 MB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003073/0.4806, allocations: 2.501 MB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006396/0.487, allocations: 6.373 MB / 0.5742 GB, free: 6.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.487, allocations: 3.938 kB / 0.5742 GB, free: 6.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.487, allocations: 0 / 0.5742 GB, free: 6.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002034/0.4872, allocations: 0 / 0.5742 GB, free: 6.785 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02029/0.5075, allocations: 6.2 MB / 0.5802 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5076, allocations: 8.875 kB / 0.5803 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006679/0.5143, allocations: 1.96 MB / 0.5822 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.5194, allocations: 2.632 MB / 0.5847 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.5196, allocations: 295.5 kB / 0.585 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000868/0.5205, allocations: 387.8 kB / 0.5854 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02307/0.5436, allocations: 12.19 MB / 0.5973 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001986/0.5438, allocations: 51.42 kB / 0.5973 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/0.5449, allocations: 183.8 kB / 0.5975 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003936/0.5489, allocations: 2.19 MB / 0.5997 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0233/0.5722, allocations: 11.21 MB / 0.6106 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06414/0.6364, allocations: 46.08 MB / 0.6556 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01858/0.655, allocations: 5.483 MB / 0.661 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00456/0.6596, allocations: 3.434 MB / 0.6643 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.6607, allocations: 0.6947 MB / 0.665 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/0.6608, allocations: 63.88 kB / 0.6651 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 5.35e-06/0.6608, allocations: 0 / 0.6651 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.08053/0.7413, allocations: 27.31 MB / 0.6917 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.7415, allocations: 154.5 kB / 0.6919 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007538/0.749, allocations: 4.395 MB / 0.6962 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006095/0.7497, allocations: 61.7 kB / 0.6962 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002785/0.7525, allocations: 3.377 MB / 0.6995 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/0.7538, allocations: 0.8869 MB / 0.7004 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002826/0.7566, allocations: 1.418 MB / 0.7018 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7567, allocations: 305.1 kB / 0.7021 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/0.7616, allocations: 3.276 MB / 0.7053 GB, free: 14.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007229/0.7689, allocations: 7.082 MB / 0.7122 GB, free: 5.055 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2471/1.016, allocations: 11.15 MB / 0.7231 GB, free: 185.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/1.016, allocations: 42.25 kB / 0.7231 GB, free: 185.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02308/1.039, allocations: 11.29 MB / 0.7341 GB, free: 182.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/1.039, allocations: 63.38 kB / 0.7342 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002318/1.04, allocations: 133.6 kB / 0.7343 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003276/1.043, allocations: 1.124 MB / 0.7354 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/1.05, allocations: 1.69 MB / 0.7371 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006941/1.057, allocations: 6.013 MB / 0.7429 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005703/1.062, allocations: 404.8 kB / 0.7433 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.064, allocations: 437.6 kB / 0.7437 GB, free: 179 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.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 (816): * Single equations (assignments): 812 * 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.004144/1.068, allocations: 2.311 MB / 0.746 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.069, allocations: 392 kB / 0.7464 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008898/1.078, allocations: 6.188 MB / 0.7524 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/1.078, allocations: 27.25 kB / 0.7524 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.078, allocations: 3.938 kB / 0.7524 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.078, allocations: 15.38 kB / 0.7525 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/1.096, allocations: 13.02 MB / 0.7652 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.096, allocations: 4 kB / 0.7652 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/1.099, allocations: 0.5485 MB / 0.7657 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/1.101, allocations: 0.9478 MB / 0.7666 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003349/1.101, allocations: 87.89 kB / 0.7667 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005743/1.107, allocations: 5.727 MB / 0.7723 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.107, allocations: 7.938 kB / 0.7723 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.12, allocations: 10.46 MB / 0.7825 GB, free: 148.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/1.122, allocations: 0.8941 MB / 0.7834 GB, free: 147.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.123, allocations: 40 kB / 0.7835 GB, free: 147.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002647/1.126, allocations: 166 kB / 0.7836 GB, free: 147.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000579/1.126, allocations: 188.2 kB / 0.7838 GB, free: 147.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003144/1.127, allocations: 103.9 kB / 0.7839 GB, free: 147.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004782/1.131, allocations: 2.769 MB / 0.7866 GB, free: 144.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/1.132, allocations: 0 / 0.7866 GB, free: 144.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006831/1.138, allocations: 1.191 MB / 0.7878 GB, free: 143.4 MB / 0.545 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.0008072/1.139, allocations: 169.2 kB / 0.7879 GB, free: 143.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.15, allocations: 7.722 MB / 0.7955 GB, free: 135.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.15, allocations: 0 / 0.7955 GB, free: 135.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003867/1.154, allocations: 3.02 MB / 0.7984 GB, free: 132.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004266/1.158, allocations: 474.4 kB / 0.7989 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/1.18, allocations: 14.72 MB / 0.8132 GB, free: 117.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/1.184, allocations: 3.626 MB / 0.8168 GB, free: 113.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002159/1.186, allocations: 459.1 kB / 0.8172 GB, free: 113.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/1.186, allocations: 4 kB / 0.8172 GB, free: 113.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1072/1.294, allocations: 92.98 MB / 0.908 GB, free: 20.26 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches