Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001087/0.001087, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001707/0.002794, 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.001036/0.001036, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002322, 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.17/1.17, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1107/1.281, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2989/0.2989, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02889/0.3278, allocations: 12.53 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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 290.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.452e-05, allocations: 4.203 kB / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001841/0.001866, allocations: 0.5298 MB / 291.1 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.005002, allocations: 2.152 MB / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.005023, allocations: 0 / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.4e-06/0.005028, allocations: 0 / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.005033, allocations: 0 / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.006241, allocations: 354.4 kB / 293.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.71e-05/0.006288, allocations: 4 kB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.006333, allocations: 3.984 kB / 293.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.18e-05/0.006385, allocations: 12.56 kB / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01195/0.01834, allocations: 4.857 MB / 298.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.01836, allocations: 0 / 298.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.01846, allocations: 8 kB / 298.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.01847, allocations: 0 / 298.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.416e-05/0.01849, allocations: 0 / 298.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.01861, allocations: 15.92 kB / 298.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.852e-05/0.01863, allocations: 4 kB / 298.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01863, allocations: 0 / 298.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.01865, allocations: 4 kB / 298.5 MB, free: 1.566 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002683/0.01892, allocations: 217.3 kB / 298.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.01896, allocations: 8.031 kB / 298.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.01918, allocations: 165.3 kB / 298.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.01929, allocations: 189 kB / 299.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.01933, allocations: 158.9 kB / 299.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.01937, allocations: 150.9 kB / 299.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.459e-05/0.01942, allocations: 105.5 kB / 299.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.01945, allocations: 83.2 kB / 299.6 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.01949, allocations: 158.6 kB / 299.7 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.01953, allocations: 154.6 kB / 299.9 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.01959, allocations: 154.5 kB / 300 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.01974, allocations: 353.3 kB / 300.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/0.01981, allocations: 165.1 kB / 300.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.01983, allocations: 80.14 kB / 300.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.01985, allocations: 79.28 kB / 300.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.01989, allocations: 113.8 kB / 300.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.01989, allocations: 0 / 300.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.27e-05/0.01995, allocations: 33.69 kB / 300.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.02001, allocations: 130.6 kB / 301 MB, free: 14.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.02008, allocations: 98.72 kB / 301.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.02009, allocations: 25.7 kB / 301.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.02012, allocations: 88.12 kB / 301.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.51e-07/0.02012, allocations: 0 / 301.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.02014, allocations: 9.719 kB / 301.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.02021, allocations: 314.8 kB / 301.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-06/0.02022, allocations: 0 / 301.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-05/0.02026, allocations: 65.11 kB / 301.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.02028, allocations: 83.22 kB / 301.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.0203, allocations: 79.22 kB / 301.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.341e-05/0.02034, allocations: 29.86 kB / 301.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.02037, allocations: 83.28 kB / 301.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.02039, allocations: 75.28 kB / 301.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.73e-05/0.02044, allocations: 162.5 kB / 302 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.137e-05/0.02046, allocations: 75.28 kB / 302.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.191e-05/0.0205, allocations: 162.4 kB / 302.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.02056, allocations: 79.28 kB / 302.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.02057, allocations: 75.28 kB / 302.4 MB, free: 13.44 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 8.321e-05/0.02066, allocations: 264.5 kB / 302.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.02069, allocations: 104.9 kB / 302.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.02073, allocations: 112 kB / 302.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.294e-05/0.02077, allocations: 188.2 kB / 303.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.862e-05/0.02081, allocations: 180.2 kB / 303.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.835e-05/0.02085, allocations: 176.3 kB / 303.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.02098, allocations: 325.4 kB / 303.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-05/0.021, allocations: 105 kB / 303.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.02103, allocations: 108.9 kB / 304 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.02106, allocations: 105 kB / 304.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-05/0.02111, allocations: 184.3 kB / 304.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.02115, allocations: 180.5 kB / 304.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.196e-05/0.02119, allocations: 180.2 kB / 304.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.782e-05/0.02124, allocations: 192.2 kB / 304.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.02134, allocations: 303.7 kB / 305.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.02139, allocations: 180.2 kB / 305.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.066e-05/0.02145, allocations: 109 kB / 305.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.02151, allocations: 184.2 kB / 305.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.02154, allocations: 105 kB / 305.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.144e-05/0.02155, allocations: 4.859 kB / 305.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02155, allocations: 0 / 305.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.02168, allocations: 3.938 kB / 305.7 MB, free: 10.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001191/0.0218, allocations: 151.8 kB / 305.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.343e-05/0.02186, allocations: 11.92 kB / 305.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.02186, allocations: 0 / 305.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-07/0.02186, allocations: 0 / 305.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.02209, allocations: 459.7 kB / 306.3 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.02228, allocations: 166.7 kB / 306.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.378e-05/0.02232, allocations: 51.36 kB / 306.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.74e-05/0.02234, allocations: 7.984 kB / 306.5 MB, free: 9.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.02239, allocations: 51.38 kB / 306.5 MB, free: 9.098 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.02239, allocations: 0 / 306.5 MB, free: 9.098 MB / 298.7 MB Notification: Performance of Templates: time 0.001694/0.02409, allocations: 403.1 kB / 306.9 MB, free: 8.711 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.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.2396278399974108]