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.001627/0.001627, allocations: 116.4 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.1 MB, free: 8.961 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.12 MB / 344.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 81.02 kB / 417.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1303, allocations: 62.45 MB / 480.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3207/0.451, allocations: 61.59 MB / 0.5291 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02826/0.4793, allocations: 12.11 MB / 0.5409 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01537/0.4947, allocations: 267.3 kB / 0.5412 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006533/0.5013, allocations: 3.567 MB / 0.5447 GB, free: 356 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006038/0.5074, allocations: 1.833 MB / 0.5465 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.51, allocations: 0.7641 MB / 0.5472 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007205/0.5173, allocations: 4.252 MB / 0.5514 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007214/0.5245, allocations: 5.115 MB / 0.5564 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004071/0.5287, allocations: 1.869 MB / 0.5582 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.5333, allocations: 2.718 MB / 0.5608 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.535, allocations: 416 kB / 0.5612 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.5382, allocations: 1.139 MB / 0.5624 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003109/0.5414, allocations: 2.221 MB / 0.5645 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00443/0.5458, allocations: 2.622 MB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009016/0.5549, allocations: 6.444 MB / 0.5734 GB, free: 7.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.5549, allocations: 0 / 0.5734 GB, free: 7.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.5549, allocations: 4 kB / 0.5734 GB, free: 7.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003915/0.5553, allocations: 0 / 0.5734 GB, free: 7.73 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.02466/0.58, allocations: 6.196 MB / 0.5794 GB, free: 1.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.5801, allocations: 8.031 kB / 0.5794 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007819/0.5879, allocations: 1.963 MB / 0.5814 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006178/0.5942, allocations: 2.64 MB / 0.5839 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/0.5945, allocations: 291.5 kB / 0.5842 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/0.5964, allocations: 391.8 kB / 0.5846 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/0.6235, allocations: 12.2 MB / 0.5965 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.6237, allocations: 47.5 kB / 0.5965 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000994/0.6247, allocations: 183.8 kB / 0.5967 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004509/0.6292, allocations: 2.19 MB / 0.5989 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/0.6542, allocations: 11.2 MB / 0.6098 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06772/0.722, allocations: 46.08 MB / 0.6548 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/0.741, allocations: 5.49 MB / 0.6602 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004878/0.7459, allocations: 3.432 MB / 0.6635 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.7473, allocations: 0.6987 MB / 0.6642 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.338e-05/0.7474, allocations: 55.81 kB / 0.6642 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 6.592e-06/0.7474, allocations: 0 / 0.6642 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.08244/0.8298, allocations: 27.3 MB / 0.6909 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.83, allocations: 154.5 kB / 0.6911 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007014/0.837, allocations: 4.395 MB / 0.6953 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000789/0.8378, allocations: 65.69 kB / 0.6954 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002912/0.8407, allocations: 3.381 MB / 0.6987 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/0.8422, allocations: 0.883 MB / 0.6996 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002276/0.8445, allocations: 1.418 MB / 0.701 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8446, allocations: 305.2 kB / 0.7013 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005406/0.8501, allocations: 3.276 MB / 0.7045 GB, free: 14.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009774/0.8599, allocations: 7.086 MB / 0.7114 GB, free: 5.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.26/1.12, allocations: 11.16 MB / 0.7223 GB, free: 186.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/1.12, allocations: 39.69 kB / 0.7223 GB, free: 186.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02282/1.143, allocations: 11.28 MB / 0.7333 GB, free: 183 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.143, allocations: 61.53 kB / 0.7334 GB, free: 183 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002365/1.143, allocations: 135 kB / 0.7335 GB, free: 183 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003232/1.147, allocations: 1.122 MB / 0.7346 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00662/1.153, allocations: 1.696 MB / 0.7363 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006999/1.16, allocations: 6.344 MB / 0.7425 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/1.166, allocations: 399.1 kB / 0.7428 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001259/1.167, allocations: 440.2 kB / 0.7433 GB, free: 179.3 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.00406/1.171, allocations: 2.315 MB / 0.7455 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.173, allocations: 395.1 kB / 0.7459 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009404/1.182, allocations: 6.184 MB / 0.7519 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/1.182, allocations: 23.44 kB / 0.752 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.182, allocations: 7.906 kB / 0.752 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.982e-05/1.182, allocations: 11.44 kB / 0.752 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/1.201, allocations: 13.03 MB / 0.7647 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/1.201, allocations: 4 kB / 0.7647 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.203, allocations: 0.5424 MB / 0.7652 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002244/1.206, allocations: 0.9487 MB / 0.7662 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/1.206, allocations: 87.89 kB / 0.7662 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006002/1.212, allocations: 6.075 MB / 0.7722 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.212, allocations: 4 kB / 0.7722 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.225, allocations: 10.46 MB / 0.7824 GB, free: 149 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/1.226, allocations: 0.8973 MB / 0.7833 GB, free: 148.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/1.227, allocations: 40 kB / 0.7833 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.229, allocations: 171.5 kB / 0.7835 GB, free: 147.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004694/1.23, allocations: 189.6 kB / 0.7837 GB, free: 147.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/1.23, allocations: 99.89 kB / 0.7837 GB, free: 147.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003369/1.233, allocations: 2.766 MB / 0.7865 GB, free: 144.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.233, allocations: 0 / 0.7865 GB, free: 144.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005652/1.239, allocations: 1.187 MB / 0.7876 GB, free: 143.6 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.0005648/1.24, allocations: 181.4 kB / 0.7878 GB, free: 143.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.254, allocations: 9.829 MB / 0.7974 GB, free: 133.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.254, allocations: 4 kB / 0.7974 GB, free: 133.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003582/1.257, allocations: 3.013 MB / 0.8003 GB, free: 130.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.26, allocations: 497.8 kB / 0.8008 GB, free: 130.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/1.279, allocations: 14.74 MB / 0.8152 GB, free: 115.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003099/1.282, allocations: 3.629 MB / 0.8187 GB, free: 111.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.284, allocations: 463 kB / 0.8192 GB, free: 111.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/1.284, allocations: 4 kB / 0.8192 GB, free: 111.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1493/1.433, allocations: 92.98 MB / 0.91 GB, free: 18.33 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