Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007824/0.0007824, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003899/0.003899, allocations: 164.1 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8658/0.8658, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.279e-05, allocations: 10.22 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.178/0.178, allocations: 11.41 MB / 454.9 MB, free: 37.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004902/0.1829, allocations: 4.104 MB / 459 MB, free: 35.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008042/0.1837, allocations: 92.81 kB / 459.1 MB, free: 35.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.1864, allocations: 3.799 MB / 462.9 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.1886, allocations: 2.092 MB / 464.9 MB, free: 32.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000884/0.1894, allocations: 0.8695 MB / 465.8 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002225/0.1917, allocations: 4.64 MB / 470.5 MB, free: 30.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.1939, allocations: 3.96 MB / 474.4 MB, free: 28.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.1956, allocations: 2.789 MB / 477.2 MB, free: 27.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.1974, allocations: 2.518 MB / 479.7 MB, free: 26.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004418/0.1979, allocations: 423.1 kB / 480.1 MB, free: 26.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.1991, allocations: 1.088 MB / 481.2 MB, free: 26.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.2007, allocations: 2.345 MB / 483.6 MB, free: 25.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.202, allocations: 1.527 MB / 485.1 MB, free: 24.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006923/0.2089, allocations: 8.132 MB / 493.2 MB, free: 21.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.209, allocations: 4 kB / 493.2 MB, free: 21.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.209, allocations: 0 / 493.2 MB, free: 21.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001355/0.2091, allocations: 4 kB / 493.2 MB, free: 21.87 MB / 410.7 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.01333/0.2224, allocations: 6.415 MB / 499.6 MB, free: 18.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2225, allocations: 13.88 kB / 499.7 MB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/0.2262, allocations: 2.029 MB / 0.4899 GB, free: 17.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.2294, allocations: 2.615 MB / 0.4925 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.2295, allocations: 293.7 kB / 0.4928 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005373/0.23, allocations: 393.1 kB / 0.4931 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.2419, allocations: 12.31 MB / 0.5052 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-05/0.242, allocations: 55.5 kB / 0.5052 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003516/0.2423, allocations: 187.8 kB / 0.5054 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001899/0.2442, allocations: 2.194 MB / 0.5075 GB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.2567, allocations: 11.26 MB / 0.5185 GB, free: 8.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03565/0.2923, allocations: 43.21 MB / 0.5607 GB, free: 11.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009468/0.3018, allocations: 5.088 MB / 0.5657 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/0.3046, allocations: 3.186 MB / 0.5688 GB, free: 3.648 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/0.305, allocations: 244.8 kB / 0.569 GB, free: 3.406 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.305, allocations: 55.81 kB / 0.5691 GB, free: 3.344 MB / 474.7 MB Notification: Performance of pre-optimization done (n=203): time 4.729e-06/0.305, allocations: 0 / 0.5691 GB, free: 3.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=234): time 0.0416/0.3466, allocations: 28.3 MB / 0.5967 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002023/0.3468, allocations: 158.4 kB / 0.5969 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.3504, allocations: 4.01 MB / 0.6008 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.3506, allocations: 65.7 kB / 0.6009 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.3522, allocations: 3.513 MB / 0.6043 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006606/0.3528, allocations: 0.9186 MB / 0.6052 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.3542, allocations: 1.435 MB / 0.6066 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.3542, allocations: 301.1 kB / 0.6069 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002903/0.3571, allocations: 3.296 MB / 0.6101 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004688/0.3618, allocations: 7.102 MB / 0.617 GB, free: 236 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008592/0.3704, allocations: 11.2 MB / 0.628 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.356e-05/0.3704, allocations: 40 kB / 0.628 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.2102/0.5807, allocations: 11.31 MB / 0.6391 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/0.5807, allocations: 63.31 kB / 0.6391 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.5809, allocations: 133.3 kB / 0.6392 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.5824, allocations: 1.118 MB / 0.6403 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/0.5855, allocations: 1.73 MB / 0.642 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004374/0.5899, allocations: 6.162 MB / 0.648 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/0.593, allocations: 439.8 kB / 0.6485 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004252/0.5934, allocations: 458.3 kB / 0.6489 GB, free: 144.9 MB / 0.5261 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.002969/0.5964, allocations: 2.321 MB / 0.6512 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.5969, allocations: 371 kB / 0.6515 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005642/0.6025, allocations: 6.195 MB / 0.6576 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.6026, allocations: 24.66 kB / 0.6576 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.6026, allocations: 4.062 kB / 0.6576 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.6026, allocations: 11.52 kB / 0.6576 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.6158, allocations: 11.56 MB / 0.6689 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6158, allocations: 3.5 kB / 0.6689 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.6172, allocations: 0.5882 MB / 0.6695 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.6186, allocations: 0.9519 MB / 0.6704 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.6188, allocations: 101.1 kB / 0.6705 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005004/0.6238, allocations: 5.912 MB / 0.6763 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6238, allocations: 7.156 kB / 0.6763 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008732/0.6325, allocations: 10.5 MB / 0.6865 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.6338, allocations: 0.8066 MB / 0.6873 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.6342, allocations: 46.66 kB / 0.6874 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6353, allocations: 207.1 kB / 0.6876 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/0.6356, allocations: 207 kB / 0.6878 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.6357, allocations: 120.5 kB / 0.6879 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002591/0.6383, allocations: 2.332 MB / 0.6902 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.6383, allocations: 0 / 0.6902 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003896/0.6422, allocations: 1.244 MB / 0.6914 GB, free: 128.1 MB / 0.5261 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.0004293/0.6427, allocations: 198.3 kB / 0.6916 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006311/0.649, allocations: 7.524 MB / 0.6989 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.649, allocations: 4 kB / 0.6989 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002177/0.6511, allocations: 2.856 MB / 0.7017 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.6527, allocations: 440.7 kB / 0.7021 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.6651, allocations: 12.4 MB / 0.7142 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002203/0.6673, allocations: 3.102 MB / 0.7173 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/0.6685, allocations: 0.4884 MB / 0.7177 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.433e-06/0.6685, allocations: 0 / 0.7177 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.07597/0.7445, allocations: 93.78 MB / 0.8093 GB, free: 8.168 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.248028665781021]