Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.0017/0.0017, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002342/0.004041, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001319/0.001319, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.002953, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.175/1.175, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1139/1.289, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3008/0.3008, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03272/0.3335, allocations: 12.54 MB / 289.3 MB, free: 8.68 MB / 282.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.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.188e-05, allocations: 4.062 kB / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003583/0.003615, allocations: 3.093 MB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.004624, allocations: 438.2 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.004796, allocations: 11.94 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.004901, allocations: 71.3 kB / 294.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.005153, allocations: 178.4 kB / 294.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.005322, allocations: 99.84 kB / 294.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.005718, allocations: 0.5679 MB / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.00596, allocations: 113.8 kB / 295.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.006284, allocations: 343.3 kB / 295.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.006486, allocations: 159.6 kB / 295.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.006542, allocations: 40 kB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.194e-05/0.006594, allocations: 40 kB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.006652, allocations: 75.69 kB / 295.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.006772, allocations: 147.8 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.007116, allocations: 330.7 kB / 296.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.976e-05/0.007135, allocations: 0 / 296.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007137, allocations: 0 / 296.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.007154, allocations: 0 / 296.3 MB, free: 2.641 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.000817/0.007971, allocations: 0.7342 MB / 297 MB, free: 1.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.008015, allocations: 8.031 kB / 297 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.008102, allocations: 72.88 kB / 297.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.008363, allocations: 206.5 kB / 297.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.008394, allocations: 33.38 kB / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.008462, allocations: 56.31 kB / 297.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.008797, allocations: 358.5 kB / 297.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.008817, allocations: 8.141 kB / 297.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.008838, allocations: 24.38 kB / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.00885, allocations: 12.38 kB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.008999, allocations: 142.2 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.01023, allocations: 1.338 MB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.01053, allocations: 319.7 kB / 299.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.01062, allocations: 107.7 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.01064, allocations: 8 kB / 299.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.01068, allocations: 58.48 kB / 299.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.307e-06/0.01068, allocations: 7.922 kB / 299.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003859/0.01107, allocations: 229.5 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.01118, allocations: 269.5 kB / 300.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.01134, allocations: 244.8 kB / 300.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.01136, allocations: 29.7 kB / 300.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01147, allocations: 236.2 kB / 300.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.01158, allocations: 194.4 kB / 300.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.062e-05/0.01167, allocations: 114.6 kB / 301 MB, free: 13.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01178, allocations: 354.7 kB / 301.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.257e-05/0.01184, allocations: 49.97 kB / 301.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.01204, allocations: 358.1 kB / 301.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.01239, allocations: 490.8 kB / 302.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.01239, allocations: 4 kB / 302.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003617/0.01275, allocations: 404.8 kB / 302.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.01278, allocations: 11.98 kB / 302.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.01279, allocations: 12.88 kB / 302.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01281, allocations: 12 kB / 302.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.01325, allocations: 223.5 kB / 302.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.01326, allocations: 23.88 kB / 302.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.01341, allocations: 63.52 kB / 303 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.01343, allocations: 28 kB / 303 MB, free: 11.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.01355, allocations: 157.6 kB / 303.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.01367, allocations: 43.91 kB / 303.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.01373, allocations: 41.77 kB / 303.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01373, allocations: 4 kB / 303.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.01374, allocations: 7.938 kB / 303.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.01375, allocations: 7.984 kB / 303.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.01428, allocations: 221.5 kB / 303.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.01428, allocations: 4 kB / 303.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.01464, allocations: 153.5 kB / 303.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.01467, allocations: 43.67 kB / 303.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.01468, allocations: 7.938 kB / 303.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.01471, allocations: 16 kB / 303.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.01471, allocations: 8.125 kB / 303.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01471, allocations: 4 kB / 303.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.01535, allocations: 0.9506 MB / 304.7 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.01539, allocations: 23.88 kB / 304.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.01577, allocations: 8 kB / 304.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.01581, allocations: 31.88 kB / 304.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.01583, allocations: 12 kB / 304.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.132e-05/0.0159, allocations: 70.78 kB / 304.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0159, allocations: 8 kB / 304.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005691/0.01647, allocations: 135.8 kB / 304.9 MB, free: 9.273 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.0166, allocations: 92.3 kB / 305 MB, free: 9.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.01687, allocations: 264.4 kB / 305.3 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.158e-05/0.01689, allocations: 8 kB / 305.3 MB, free: 8.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.01705, allocations: 107.5 kB / 305.4 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.0181, allocations: 147.6 kB / 305.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/0.02515, allocations: 0.9633 MB / 306.5 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.02531, allocations: 121.8 kB / 306.6 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.02553, allocations: 48.25 kB / 306.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.02576, allocations: 153.3 kB / 306.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of SimCode: time 1.603e-06/0.02576, allocations: 0 / 306.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of Templates: time 0.009995/0.03576, allocations: 5.266 MB / 312.1 MB, free: 2.195 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.481320674531162]