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.001244/0.001244, allocations: 108.2 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 205.8 kB / 18.26 MB, free: 4.969 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.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 71.88 kB / 417.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1336, allocations: 62.43 MB / 479.5 MB, free: 8.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.05798/0.1917, allocations: 61.6 MB / 0.5284 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2761/0.4679, allocations: 12.09 MB / 0.5402 GB, free: 35.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01537/0.4833, allocations: 267.9 kB / 0.5405 GB, free: 35.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006952/0.4904, allocations: 3.575 MB / 0.544 GB, free: 35.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006714/0.4971, allocations: 1.834 MB / 0.5457 GB, free: 35.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.4994, allocations: 0.7586 MB / 0.5465 GB, free: 35.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006674/0.506, allocations: 4.256 MB / 0.5506 GB, free: 35.47 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005656/0.5117, allocations: 5.109 MB / 0.5556 GB, free: 35.11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.515, allocations: 1.869 MB / 0.5575 GB, free: 35.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/0.5189, allocations: 2.718 MB / 0.5601 GB, free: 34.97 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.5199, allocations: 416.7 kB / 0.5605 GB, free: 34.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.5222, allocations: 1.139 MB / 0.5616 GB, free: 34.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002239/0.5245, allocations: 2.225 MB / 0.5638 GB, free: 34.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003967/0.5285, allocations: 2.614 MB / 0.5664 GB, free: 33.83 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.5423, allocations: 7.881 MB / 0.574 GB, free: 32.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.5423, allocations: 5.125 kB / 0.5741 GB, free: 32.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5423, allocations: 3.938 kB / 0.5741 GB, free: 32.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003463/0.5427, allocations: 0 / 0.5741 GB, free: 32.71 MB / 462.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.0323/0.575, allocations: 6.201 MB / 0.5801 GB, free: 30.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.5751, allocations: 13.03 kB / 0.5801 GB, free: 30.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008011/0.5831, allocations: 1.961 MB / 0.582 GB, free: 30.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007083/0.5902, allocations: 2.63 MB / 0.5846 GB, free: 29.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.5905, allocations: 292.9 kB / 0.5849 GB, free: 29.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/0.5926, allocations: 389.3 kB / 0.5853 GB, free: 29.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/0.6166, allocations: 12.21 MB / 0.5972 GB, free: 23.58 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.6168, allocations: 43.72 kB / 0.5972 GB, free: 23.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005973/0.6174, allocations: 182.3 kB / 0.5974 GB, free: 23.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003585/0.621, allocations: 2.19 MB / 0.5995 GB, free: 22.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02035/0.6414, allocations: 11.2 MB / 0.6105 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0629/0.7043, allocations: 46.1 MB / 0.6555 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/0.7239, allocations: 5.48 MB / 0.6608 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0048/0.7288, allocations: 3.445 MB / 0.6642 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009743/0.7298, allocations: 0.7019 MB / 0.6649 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.7298, allocations: 53.06 kB / 0.6649 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 6.061e-06/0.7298, allocations: 0 / 0.6649 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.0835/0.8134, allocations: 27.29 MB / 0.6916 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.8135, allocations: 154.5 kB / 0.6917 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008721/0.8222, allocations: 4.402 MB / 0.696 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001123/0.8234, allocations: 65.7 kB / 0.6961 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003251/0.8266, allocations: 3.38 MB / 0.6994 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001862/0.8285, allocations: 0.8806 MB / 0.7003 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002473/0.831, allocations: 1.418 MB / 0.7016 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.8312, allocations: 305.1 kB / 0.7019 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005585/0.8368, allocations: 3.276 MB / 0.7051 GB, free: 13.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/0.8469, allocations: 7.09 MB / 0.7121 GB, free: 4.398 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/0.8616, allocations: 11.16 MB / 0.723 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/0.8617, allocations: 50.38 kB / 0.723 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02491/0.8866, allocations: 11.29 MB / 0.734 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.8868, allocations: 60 kB / 0.7341 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/0.887, allocations: 140.1 kB / 0.7342 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/0.89, allocations: 1.115 MB / 0.7353 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007117/0.8972, allocations: 1.688 MB / 0.737 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008883/0.9061, allocations: 6.352 MB / 0.7432 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007521/0.9137, allocations: 395.6 kB / 0.7435 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002214/0.9159, allocations: 440.5 kB / 0.744 GB, free: 3.246 MB / 0.5762 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.006569/0.9225, allocations: 2.312 MB / 0.7462 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/0.9238, allocations: 398.8 kB / 0.7466 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2516/1.175, allocations: 6.178 MB / 0.7526 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/1.176, allocations: 30.56 kB / 0.7527 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.176, allocations: 3.188 kB / 0.7527 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/1.176, allocations: 9.938 kB / 0.7527 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/1.198, allocations: 13.01 MB / 0.7654 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.198, allocations: 2.938 kB / 0.7654 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/1.201, allocations: 0.5463 MB / 0.7659 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/1.203, allocations: 0.9507 MB / 0.7668 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003196/1.203, allocations: 85.53 kB / 0.7669 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007081/1.21, allocations: 6.071 MB / 0.7729 GB, free: 205.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/1.21, allocations: 7.781 kB / 0.7729 GB, free: 205.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/1.228, allocations: 10.45 MB / 0.7831 GB, free: 201.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002868/1.231, allocations: 0.8898 MB / 0.7839 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/1.232, allocations: 43.39 kB / 0.784 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/1.235, allocations: 171.9 kB / 0.7841 GB, free: 201.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006725/1.236, allocations: 181 kB / 0.7843 GB, free: 201.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003362/1.236, allocations: 105.9 kB / 0.7844 GB, free: 201.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005899/1.242, allocations: 2.768 MB / 0.7871 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.51e-07/1.242, allocations: 2.781 kB / 0.7871 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007913/1.25, allocations: 1.188 MB / 0.7883 GB, free: 200.1 MB / 0.5762 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.0008501/1.251, allocations: 182.5 kB / 0.7885 GB, free: 200 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01641/1.267, allocations: 9.828 MB / 0.7981 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/1.267, allocations: 1.875 kB / 0.7981 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004406/1.272, allocations: 3.021 MB / 0.801 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/1.276, allocations: 0.4894 MB / 0.8015 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/1.296, allocations: 14.21 MB / 0.8154 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/1.3, allocations: 3.632 MB / 0.8189 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005496/1.305, allocations: 2.267 MB / 0.8211 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/1.307, allocations: 411.1 kB / 0.8215 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/1.307, allocations: 0 / 0.8215 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.09478/1.401, allocations: 55.99 MB / 0.8762 GB, free: 118.2 MB / 0.5762 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/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