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.001175/0.001175, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001278, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.09 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 71.89 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.394, allocations: 62.44 MB / 0.531 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01379/0.4078, allocations: 11.04 MB / 0.5418 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009593/0.4174, allocations: 3.823 MB / 0.5455 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.4198, allocations: 65.88 kB / 0.5456 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005101/0.4249, allocations: 2.678 MB / 0.5482 GB, free: 64 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.4302, allocations: 1.79 MB / 0.5499 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.4321, allocations: 0.694 MB / 0.5506 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005542/0.4376, allocations: 3.593 MB / 0.5541 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/0.4423, allocations: 3.683 MB / 0.5577 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.4454, allocations: 1.464 MB / 0.5591 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003454/0.4488, allocations: 2.005 MB / 0.5611 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.4499, allocations: 320 kB / 0.5614 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.4525, allocations: 1.042 MB / 0.5624 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001902/0.4544, allocations: 1.804 MB / 0.5642 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.4569, allocations: 2.093 MB / 0.5662 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009339/0.4663, allocations: 6.678 MB / 0.5728 GB, free: 6.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.4664, allocations: 0 / 0.5728 GB, free: 6.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.4664, allocations: 0 / 0.5728 GB, free: 6.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003332/0.4668, allocations: 0 / 0.5728 GB, free: 6.77 MB / 430.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.01974/0.4865, allocations: 5.07 MB / 0.5777 GB, free: 1.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4866, allocations: 12.03 kB / 0.5777 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/0.493, allocations: 1.852 MB / 0.5795 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/0.4978, allocations: 2.244 MB / 0.5817 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.498, allocations: 229.8 kB / 0.5819 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007876/0.4988, allocations: 299.8 kB / 0.5822 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01796/0.5167, allocations: 10.05 MB / 0.592 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.5169, allocations: 35.75 kB / 0.5921 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004388/0.5173, allocations: 143.9 kB / 0.5922 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003072/0.5204, allocations: 1.813 MB / 0.594 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.5388, allocations: 9.027 MB / 0.6028 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04766/0.5865, allocations: 37.07 MB / 0.639 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.5994, allocations: 3.712 MB / 0.6426 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.6017, allocations: 1.705 MB / 0.6443 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009096/0.6027, allocations: 0.6824 MB / 0.645 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6027, allocations: 47.06 kB / 0.645 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 3.927e-06/0.6027, allocations: 0 / 0.645 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04177/0.6445, allocations: 12.89 MB / 0.6576 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.6446, allocations: 145.4 kB / 0.6577 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005878/0.6505, allocations: 3.963 MB / 0.6616 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.6508, allocations: 45.64 kB / 0.6616 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002265/0.653, allocations: 2.966 MB / 0.6645 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006777/0.6537, allocations: 0.5557 MB / 0.6651 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.6552, allocations: 1.13 MB / 0.6662 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.6555, allocations: 313.1 kB / 0.6665 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.6582, allocations: 1.928 MB / 0.6684 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005843/0.6641, allocations: 5.501 MB / 0.6737 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009178/0.6733, allocations: 8.06 MB / 0.6816 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.593e-05/0.6734, allocations: 36 kB / 0.6816 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01502/0.6884, allocations: 7.918 MB / 0.6894 GB, free: 9.387 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/0.6886, allocations: 63.98 kB / 0.6894 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.6887, allocations: 128 kB / 0.6896 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.6911, allocations: 0.8983 MB / 0.6904 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/0.695, allocations: 1.283 MB / 0.6917 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006715/0.7017, allocations: 5.201 MB / 0.6968 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004031/0.7058, allocations: 291.5 kB / 0.697 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007408/0.7065, allocations: 360 kB / 0.6974 GB, free: 1.043 MB / 0.545 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.003717/0.7103, allocations: 1.967 MB / 0.6993 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007835/0.7111, allocations: 327.7 kB / 0.6996 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/0.7166, allocations: 2.79 MB / 0.7023 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/0.7166, allocations: 19.98 kB / 0.7024 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.7166, allocations: 4 kB / 0.7024 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.7167, allocations: 7.984 kB / 0.7024 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.7313, allocations: 7.17 MB / 0.7094 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.7313, allocations: 4 kB / 0.7094 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.7326, allocations: 235.9 kB / 0.7096 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002309/0.7349, allocations: 0.7148 MB / 0.7103 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.7351, allocations: 35.91 kB / 0.7103 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006794/0.7419, allocations: 4.771 MB / 0.715 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.742, allocations: 7.969 kB / 0.715 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008583/0.7506, allocations: 5.127 MB / 0.72 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.7517, allocations: 388.7 kB / 0.7204 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003812/0.7521, allocations: 19.98 kB / 0.7204 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.7533, allocations: 79.91 kB / 0.7205 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.7536, allocations: 88.52 kB / 0.7206 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.7537, allocations: 51.91 kB / 0.7206 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004089/0.7578, allocations: 2.481 MB / 0.723 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7578, allocations: 0 / 0.723 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005369/0.7632, allocations: 0.879 MB / 0.7239 GB, free: 5.613 MB / 0.5762 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.0005101/0.7638, allocations: 151 kB / 0.724 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00786/0.7716, allocations: 4.608 MB / 0.7285 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.7717, allocations: 4.062 kB / 0.7285 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.2899/1.062, allocations: 1.361 MB / 0.7299 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/1.065, allocations: 419.2 kB / 0.7303 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.081, allocations: 8.325 MB / 0.7384 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003004/1.084, allocations: 3.059 MB / 0.7414 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003638/1.088, allocations: 1.787 MB / 0.7431 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/1.089, allocations: 258.6 kB / 0.7434 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1.089, allocations: 0 / 0.7434 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.05292/1.142, allocations: 31.89 MB / 0.7745 GB, free: 148.9 MB / 0.5762 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