Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.001224/0.001224, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002484, allocations: 447.8 kB / 10.35 MB, free: 348 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.0008275/0.0008275, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001949, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8978/0.8978, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1774/1.075, allocations: 49.49 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1383/0.1383, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0425/0.1808, allocations: 12.29 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 267.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.153e-05, allocations: 6.25 kB / 267.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001572/0.001594, allocations: 0.5516 MB / 267.7 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.003102, allocations: 1.415 MB / 269.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.003122, allocations: 0 / 269.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.306e-06/0.00313, allocations: 7.938 kB / 269.2 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.003228, allocations: 15.92 kB / 269.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008343/0.004062, allocations: 235 kB / 269.4 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.004142, allocations: 11.92 kB / 269.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.004183, allocations: 4 kB / 269.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.441e-05/0.004238, allocations: 4 kB / 269.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.004316, allocations: 3.984 kB / 269.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.004331, allocations: 0 / 269.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.0066, allocations: 1.007 MB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.006609, allocations: 0 / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.006626, allocations: 8 kB / 270.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.006891, allocations: 175.5 kB / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.575e-05/0.006907, allocations: 0 / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.006908, allocations: 0 / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.006923, allocations: 0 / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003235/0.007246, allocations: 298.1 kB / 270.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.007276, allocations: 12.03 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.007304, allocations: 0.9375 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.007385, allocations: 113.6 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.007395, allocations: 4.375 kB / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.007402, allocations: 4.375 kB / 271 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.491e-05/0.007477, allocations: 63.89 kB / 271.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.007484, allocations: 192 / 271.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.007491, allocations: 4.125 kB / 271.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.007496, allocations: 0 / 271.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.007513, allocations: 25.7 kB / 271.1 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.789e-05/0.00758, allocations: 57.05 kB / 271.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.007623, allocations: 52.25 kB / 271.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.007637, allocations: 30.56 kB / 271.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.007642, allocations: 3.984 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.007672, allocations: 68.31 kB / 271.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.007673, allocations: 0 / 271.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001036/0.007777, allocations: 106.8 kB / 271.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.00781, allocations: 89.03 kB / 271.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.945e-05/0.00786, allocations: 98.66 kB / 271.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.007868, allocations: 29.7 kB / 271.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.007891, allocations: 80.14 kB / 271.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.007904, allocations: 0 / 271.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.007926, allocations: 17.72 kB / 271.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.007996, allocations: 319.1 kB / 272.1 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.008011, allocations: 37.69 kB / 272.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.008023, allocations: 29.7 kB / 272.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.008053, allocations: 60.27 kB / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008054, allocations: 0 / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.95e-05/0.008104, allocations: 85.09 kB / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.008138, allocations: 37.64 kB / 272.3 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.008145, allocations: 0 / 272.3 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.008157, allocations: 3.984 kB / 272.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.378e-06/0.008161, allocations: 0 / 272.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.008164, allocations: 4.094 kB / 272.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.008177, allocations: 3.938 kB / 272.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.008183, allocations: 4 kB / 272.3 MB, free: 1.148 MB / 266.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.535e-05/0.008238, allocations: 131.5 kB / 272.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.008244, allocations: 7.984 kB / 272.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-06/0.008254, allocations: 3.156 kB / 272.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.008255, allocations: 0 / 272.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.008257, allocations: 0 / 272.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008259, allocations: 7.875 kB / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.697e-05/0.008306, allocations: 65.91 kB / 272.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.008307, allocations: 4 kB / 272.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-07/0.008307, allocations: 0 / 272.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.008311, allocations: 0 / 272.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.008312, allocations: 0 / 272.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.008318, allocations: 11.98 kB / 272.5 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.008318, allocations: 0 / 272.5 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008319, allocations: 0 / 272.5 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.359e-05/0.008382, allocations: 116.4 kB / 272.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.008392, allocations: 4 kB / 272.7 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-06/0.008397, allocations: 0 / 272.7 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-06/0.008404, allocations: 4.031 kB / 272.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.008406, allocations: 0 / 272.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.177e-06/0.008415, allocations: 8.859 kB / 272.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008415, allocations: 0 / 272.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.008589, allocations: 59.86 kB / 272.7 MB, free: 0.668 MB / 266.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006495/0.009238, allocations: 437.6 kB / 273.2 MB, free: 236 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.971e-05/0.009328, allocations: 123.6 kB / 273.3 MB, free: 84 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.009331, allocations: 0 / 273.3 MB, free: 84 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.009368, allocations: 85.97 kB / 273.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.303e-05/0.009421, allocations: 7.938 kB / 273.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001435/0.009565, allocations: 118.5 kB / 273.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.583e-05/0.009591, allocations: 59.48 kB / 273.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.12e-06/0.009596, allocations: 0 / 273.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.009628, allocations: 51.38 kB / 273.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009629, allocations: 0 / 273.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of Templates: time 0.003204/0.01283, allocations: 1.898 MB / 275.5 MB, free: 13.79 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.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: 2.9383604656904936]