Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001277/0.001277, allocations: 71.75 kB / 21.69 MB, free: 2.84 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.001029/0.001029, allocations: 170.9 kB / 25 MB, free: 8.824 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 1.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2551/0.2551, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.733e-05, allocations: 6.312 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002249/0.002276, allocations: 1.634 MB / 379.7 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003564, allocations: 1.278 MB / 380.9 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.003628, allocations: 3.938 kB / 381 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.003856, allocations: 27.8 kB / 381 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.004156, allocations: 87.7 kB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.004397, allocations: 107.7 kB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.004532, allocations: 71.77 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.004626, allocations: 11.98 kB / 381.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.862e-05/0.004685, allocations: 31.86 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.262e-05/0.004778, allocations: 27.95 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.004794, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.004919, allocations: 95.77 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.004964, allocations: 15.92 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.004992, allocations: 8 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.005203, allocations: 143.5 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005207, allocations: 0 / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005208, allocations: 0 / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.005213, allocations: 0 / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004281/0.005641, allocations: 424 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.005678, allocations: 11.97 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.00573, allocations: 16.89 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.005879, allocations: 136 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.005887, allocations: 4.375 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.005906, allocations: 4.375 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.006039, allocations: 100 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.006048, allocations: 192 / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006059, allocations: 8.062 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.006067, allocations: 0 / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.268e-05/0.006099, allocations: 19.92 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.006391, allocations: 275.8 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.006552, allocations: 43.05 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.006576, allocations: 15.69 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.006595, allocations: 3.938 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.006623, allocations: 45.33 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.006624, allocations: 0 / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003561/0.00698, allocations: 105.5 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.007021, allocations: 77.11 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.007144, allocations: 197.9 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.007155, allocations: 25.7 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.007206, allocations: 146.9 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.007222, allocations: 11.86 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.007259, allocations: 27.38 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.007366, allocations: 0.4923 MB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.007387, allocations: 4 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.007423, allocations: 57.06 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.007461, allocations: 19.69 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.007462, allocations: 0 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.678e-05/0.007539, allocations: 65.56 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.007552, allocations: 8 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.007556, allocations: 0 / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.007569, allocations: 0 / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.007612, allocations: 11.98 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.007618, allocations: 4.031 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.00764, allocations: 7.953 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.007645, allocations: 0 / 383.9 MB, free: 12.85 MB / 362.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 (5): * Single equations (assignments): 5 * 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 6.194e-05/0.007707, allocations: 156.6 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.00773, allocations: 15.89 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.007845, allocations: 74.25 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.007848, allocations: 4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.007852, allocations: 4.062 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007856, allocations: 0 / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.008087, allocations: 325.3 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.008088, allocations: 0 / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.00812, allocations: 15.98 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.008122, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.008128, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.00813, allocations: 3.938 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008131, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.008239, allocations: 207.8 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.008248, allocations: 7.953 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.008264, allocations: 7.984 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.008299, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.008329, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.008333, allocations: 4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.347e-05/0.008396, allocations: 148.9 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008396, allocations: 0 / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.008601, allocations: 39.92 kB / 384.9 MB, free: 11.77 MB / 362.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 (5): * Single equations (assignments): 5 * 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.001099/0.009699, allocations: 476 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.009815, allocations: 39.55 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.009818, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.009841, allocations: 19.67 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.01007, allocations: 27.92 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.01043, allocations: 169.9 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.01047, allocations: 66.39 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.01052, allocations: 19.97 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.01056, allocations: 20.48 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01056, allocations: 0 / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003881/0.01444, allocations: 1.836 MB / 387.6 MB, free: 9.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.1344172190874815]