Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0008357/0.0008357, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001923, allocations: 452 kB / 10.43 MB, free: 264 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.0007284/0.0007284, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008881/0.001617, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8905/0.8905, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1605/1.051, allocations: 49.5 MB / 220.7 MB, free: 1.363 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.1334/0.1334, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02382/0.1572, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.134e-05, allocations: 6.25 kB / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.004125/0.004156, allocations: 1.697 MB / 269.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008444/0.005, allocations: 371.1 kB / 269.5 MB, free: 476 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.005074, allocations: 0 / 269.5 MB, free: 476 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006955/0.00577, allocations: 498.9 kB / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.006172, allocations: 271.4 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.006638, allocations: 163.5 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.006965, allocations: 163.7 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.007081, allocations: 15.97 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.007349, allocations: 155.8 kB / 270.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.00759, allocations: 191.7 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.007616, allocations: 4 kB / 270.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.00774, allocations: 39.86 kB / 270.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.007854, allocations: 83.7 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.0079, allocations: 31.75 kB / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.008215, allocations: 191.2 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.102e-05/0.008236, allocations: 0 / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.008239, allocations: 0 / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.008256, allocations: 3.984 kB / 271.2 MB, free: 14.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000798/0.009054, allocations: 0.5915 MB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.009113, allocations: 12.03 kB / 271.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.009189, allocations: 28.91 kB / 271.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.009471, allocations: 238.1 kB / 272.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.009485, allocations: 4.359 kB / 272.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.009514, allocations: 8.375 kB / 272.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.009661, allocations: 58.88 kB / 272.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.009672, allocations: 192 / 272.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.009684, allocations: 8.125 kB / 272.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.009691, allocations: 4 kB / 272.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.009725, allocations: 11.94 kB / 272.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.01014, allocations: 203.1 kB / 272.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.01025, allocations: 26.56 kB / 272.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.01028, allocations: 8.859 kB / 272.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.01032, allocations: 7.938 kB / 272.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.01036, allocations: 38.5 kB / 272.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.316e-06/0.01036, allocations: 0 / 272.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000564/0.01092, allocations: 121.6 kB / 272.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.01097, allocations: 55.41 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.01152, allocations: 0.5283 MB / 273.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.01154, allocations: 25.7 kB / 273.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.01163, allocations: 133.3 kB / 273.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.01167, allocations: 35.72 kB / 273.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.01172, allocations: 17.72 kB / 273.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01186, allocations: 358.7 kB / 273.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.01189, allocations: 7.984 kB / 273.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.01191, allocations: 4 kB / 273.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.683e-05/0.01197, allocations: 31.67 kB / 273.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01197, allocations: 4 kB / 273.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001386/0.01211, allocations: 77.52 kB / 273.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.01213, allocations: 8 kB / 273.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01213, allocations: 0 / 273.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.01215, allocations: 0 / 273.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.01228, allocations: 19.98 kB / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.01229, allocations: 0 / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.01234, allocations: 4 kB / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.01235, allocations: 0 / 273.9 MB, free: 11.88 MB / 282.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 (7): * Single equations (assignments): 7 * 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.0001058/0.01246, allocations: 112.7 kB / 274 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.0125, allocations: 31.91 kB / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.01271, allocations: 101.8 kB / 274.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.01271, allocations: 4 kB / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01272, allocations: 0 / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.01273, allocations: 3.938 kB / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.01319, allocations: 282.6 kB / 274.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01319, allocations: 0 / 274.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.01328, allocations: 19.98 kB / 274.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.01333, allocations: 31.72 kB / 274.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.01333, allocations: 4 kB / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.01334, allocations: 8 kB / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01334, allocations: 0 / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01335, allocations: 0 / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.01351, allocations: 167.5 kB / 274.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.01354, allocations: 0 / 274.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.01363, allocations: 8.266 kB / 274.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.01369, allocations: 15.92 kB / 274.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.0137, allocations: 0 / 274.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000322/0.01402, allocations: 283.2 kB / 274.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01402, allocations: 0 / 274.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01428, allocations: 27.94 kB / 275 MB, free: 10.74 MB / 282.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 (7): * Single equations (assignments): 7 * 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.001765/0.01605, allocations: 0.5429 MB / 275.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.0162, allocations: 32.77 kB / 275.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.142e-05/0.01622, allocations: 8 kB / 275.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.492e-05/0.01628, allocations: 20.86 kB / 275.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.01667, allocations: 105.3 kB / 275.7 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.01782, allocations: 0.5901 MB / 276.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.01794, allocations: 127.2 kB / 276.4 MB, free: 9.234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.598e-05/0.01801, allocations: 12.44 kB / 276.4 MB, free: 9.223 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.01809, allocations: 59.38 kB / 276.4 MB, free: 9.164 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01809, allocations: 0 / 276.4 MB, free: 9.164 MB / 282.7 MB Notification: Performance of Templates: time 0.005946/0.02403, allocations: 1.575 MB / 278 MB, free: 7.586 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.746463314630091]