Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.0007846/0.0007846, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.0032/0.0032, allocations: 162.5 kB / 24.7 MB, free: 8.879 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.8583/0.8583, allocations: 177.2 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2328/0.2328, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 440.9 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.315e-05, allocations: 2.844 kB / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.1729/0.1729, allocations: 9.718 MB / 450.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00448/0.1774, allocations: 3.647 MB / 454.2 MB, free: 39.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.1781, allocations: 76.81 kB / 454.3 MB, free: 39.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.1801, allocations: 2.735 MB / 457 MB, free: 38.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.1821, allocations: 1.874 MB / 458.9 MB, free: 37.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.1828, allocations: 0.7425 MB / 459.7 MB, free: 36.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.1846, allocations: 3.97 MB / 463.6 MB, free: 35.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.1861, allocations: 3.066 MB / 466.7 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1874, allocations: 2.228 MB / 468.9 MB, free: 33.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.1886, allocations: 2.119 MB / 471 MB, free: 32.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.1889, allocations: 328.4 kB / 471.4 MB, free: 32.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008982/0.1898, allocations: 0.9921 MB / 472.3 MB, free: 32.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007273/0.1905, allocations: 1.929 MB / 474.3 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006122/0.1911, allocations: 1.212 MB / 475.5 MB, free: 30.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003769/0.1949, allocations: 6.715 MB / 482.2 MB, free: 28.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1949, allocations: 5.281 kB / 482.2 MB, free: 28.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1949, allocations: 0 / 482.2 MB, free: 28.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.809e-05/0.1949, allocations: 0 / 482.2 MB, free: 28.52 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01092/0.2059, allocations: 5.278 MB / 487.5 MB, free: 25.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.2059, allocations: 10.47 kB / 487.5 MB, free: 25.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.2103, allocations: 1.91 MB / 489.4 MB, free: 25.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.2134, allocations: 2.191 MB / 491.6 MB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.2135, allocations: 227.1 kB / 491.8 MB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004258/0.214, allocations: 305.4 kB / 492.1 MB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.2258, allocations: 10.16 MB / 0.4905 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.673e-05/0.2259, allocations: 45.22 kB / 0.4905 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.2262, allocations: 147.6 kB / 0.4907 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001789/0.228, allocations: 1.801 MB / 0.4924 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009119/0.2371, allocations: 9.114 MB / 0.5013 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02298/0.2601, allocations: 34.85 MB / 0.5354 GB, free: 7.398 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006667/0.2667, allocations: 3.365 MB / 0.5387 GB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.2681, allocations: 1.611 MB / 0.5402 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/0.2686, allocations: 240.1 kB / 0.5405 GB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.2686, allocations: 53.91 kB / 0.5405 GB, free: 2.078 MB / 442.7 MB Notification: Performance of pre-optimization done (n=130): time 6.573e-06/0.2686, allocations: 3.984 kB / 0.5405 GB, free: 2.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=136): time 0.02301/0.2916, allocations: 13.56 MB / 0.5538 GB, free: 4.453 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.2917, allocations: 141.2 kB / 0.5539 GB, free: 4.285 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/0.2951, allocations: 3.722 MB / 0.5575 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/0.2952, allocations: 45.7 kB / 0.5576 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.2963, allocations: 3.07 MB / 0.5606 GB, free: 13.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.2967, allocations: 0.57 MB / 0.5611 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008979/0.2976, allocations: 1.139 MB / 0.5622 GB, free: 11.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.2976, allocations: 301.1 kB / 0.5625 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.2996, allocations: 1.947 MB / 0.5644 GB, free: 9.426 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003294/0.3029, allocations: 5.498 MB / 0.5698 GB, free: 2.129 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005749/0.3086, allocations: 8.072 MB / 0.5777 GB, free: 8.273 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.3087, allocations: 36 kB / 0.5777 GB, free: 8.238 MB / 490.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.007854/0.3165, allocations: 7.905 MB / 0.5854 GB, free: 336 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.3166, allocations: 60 kB / 0.5855 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.691e-05/0.3166, allocations: 128 kB / 0.5856 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.318, allocations: 0.9064 MB / 0.5865 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.3202, allocations: 1.295 MB / 0.5878 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/0.3246, allocations: 4.999 MB / 0.5927 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/0.3272, allocations: 339.5 kB / 0.593 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/0.3275, allocations: 364.3 kB / 0.5933 GB, free: 8.156 MB / 0.4948 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.002759/0.3303, allocations: 1.978 MB / 0.5953 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/0.3306, allocations: 306 kB / 0.5955 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/0.3336, allocations: 2.759 MB / 0.5982 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.3337, allocations: 19.94 kB / 0.5983 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3337, allocations: 4 kB / 0.5983 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3337, allocations: 7.922 kB / 0.5983 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007119/0.3408, allocations: 6.29 MB / 0.6044 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3408, allocations: 0 / 0.6044 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.3414, allocations: 247.7 kB / 0.6047 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.3426, allocations: 0.7194 MB / 0.6054 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.3426, allocations: 39.91 kB / 0.6054 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004435/0.3471, allocations: 4.627 MB / 0.6099 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3471, allocations: 3.938 kB / 0.6099 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/0.3519, allocations: 5.107 MB / 0.6149 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.3523, allocations: 297.9 kB / 0.6152 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.3525, allocations: 23.98 kB / 0.6152 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.3532, allocations: 115.8 kB / 0.6153 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.3534, allocations: 96.42 kB / 0.6154 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.3534, allocations: 51.97 kB / 0.6155 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002317/0.3558, allocations: 2.163 MB / 0.6176 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.3558, allocations: 0 / 0.6176 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003463/0.3592, allocations: 0.9413 MB / 0.6185 GB, free: 14.16 MB / 0.5261 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.0003441/0.3596, allocations: 171.3 kB / 0.6187 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0045/0.3641, allocations: 4.465 MB / 0.623 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3641, allocations: 256 / 0.623 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.3653, allocations: 1.298 MB / 0.6243 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.3665, allocations: 370 kB / 0.6246 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1749/0.5414, allocations: 8.826 MB / 0.6333 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.5434, allocations: 2.522 MB / 0.6357 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007906/0.5442, allocations: 290.9 kB / 0.636 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.344e-06/0.5442, allocations: 0 / 0.636 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.07081/0.615, allocations: 71.2 MB / 0.7055 GB, free: 121.4 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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: 9.035054485313594]