Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0009805/0.0009805, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00181/0.00181, allocations: 168.7 kB / 24.91 MB, free: 9.191 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 0.9656/0.9656, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2627/0.2627, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.861e-05, allocations: 3.016 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003585/0.003614, allocations: 1.64 MB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.00478, allocations: 0.5335 MB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.004852, allocations: 0 / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.005106, allocations: 27.78 kB / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.005473, allocations: 79.56 kB / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.00582, allocations: 91.62 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.005994, allocations: 63.84 kB / 327.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.006093, allocations: 11.98 kB / 327.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.006172, allocations: 35.84 kB / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.006236, allocations: 11.98 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.006254, allocations: 4 kB / 327.8 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.235e-05/0.006347, allocations: 39.86 kB / 327.8 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.006397, allocations: 15.92 kB / 327.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.006427, allocations: 15.92 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.006609, allocations: 67.75 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.006613, allocations: 0 / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.006615, allocations: 0 / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.006618, allocations: 0 / 327.9 MB, free: 5.027 MB / 298.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.0004095/0.007028, allocations: 290.3 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.007071, allocations: 12.03 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.007108, allocations: 8.938 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.007281, allocations: 144.3 kB / 328.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.007291, allocations: 384 / 328.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.007316, allocations: 4.375 kB / 328.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.007448, allocations: 50.95 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007458, allocations: 192 / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.007467, allocations: 8.125 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.007473, allocations: 0 / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.089e-05/0.007504, allocations: 7.984 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.007784, allocations: 155.1 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.007953, allocations: 42.62 kB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.007973, allocations: 8.859 kB / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.00799, allocations: 0 / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.008015, allocations: 30.56 kB / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.008016, allocations: 0 / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003665/0.008383, allocations: 97.5 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.008421, allocations: 51.41 kB / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.008548, allocations: 155.3 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.00856, allocations: 25.7 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.0086, allocations: 88.12 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.008627, allocations: 19.89 kB / 329.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.008665, allocations: 21.7 kB / 329.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.008764, allocations: 318.8 kB / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.008779, allocations: 4 kB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.008794, allocations: 7.938 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.008837, allocations: 25.03 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.008839, allocations: 0 / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.231e-05/0.008921, allocations: 49.62 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.00894, allocations: 10.34 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.008946, allocations: 0 / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.00896, allocations: 3.938 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.009029, allocations: 15.98 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.009032, allocations: 0 / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.00906, allocations: 4.281 kB / 329.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.009065, allocations: 3.938 kB / 329.5 MB, free: 3.246 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 (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 7.444e-05/0.009139, allocations: 112.7 kB / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.009172, allocations: 11.92 kB / 329.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.009313, allocations: 66.06 kB / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.009316, allocations: 0 / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.009318, allocations: 0 / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009321, allocations: 4 kB / 329.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.009607, allocations: 214.7 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.009615, allocations: 7.984 kB / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.00967, allocations: 8 kB / 329.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.009674, allocations: 0 / 329.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.009682, allocations: 4 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.009684, allocations: 0 / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009686, allocations: 0 / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.009807, allocations: 151.6 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.009821, allocations: 7.953 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.009834, allocations: 0 / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.009896, allocations: 12 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.009922, allocations: 3.984 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.009927, allocations: 0 / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.355e-05/0.009981, allocations: 38.66 kB / 330.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.009981, allocations: 0 / 330.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.01023, allocations: 12 kB / 330.2 MB, free: 2.547 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 (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.001602/0.01183, allocations: 0.4937 MB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.066e-05/0.01192, allocations: 28.78 kB / 330.7 MB, free: 2.281 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01193, allocations: 4 kB / 330.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.01195, allocations: 20.73 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.0122, allocations: 19.92 kB / 330.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.01261, allocations: 175.1 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.01265, allocations: 63.34 kB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.457e-05/0.0127, allocations: 11.98 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.01277, allocations: 59.36 kB / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01277, allocations: 4 kB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of Templates: time 0.004346/0.01712, allocations: 1.241 MB / 332.3 MB, free: 0.6484 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.9654348148033023]