Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001366/0.001366, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.00178/0.00178, allocations: 171.7 kB / 25.61 MB, free: 8.859 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.9081/0.9081, allocations: 177.1 MB / 206 MB, free: 4.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.1291/0.1291, allocations: 34.25 MB / 296.8 MB, free: 13.92 MB / 282.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/1.109e-05, allocations: 3.734 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001579/0.00159, allocations: 1.626 MB / 380.9 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005486/0.002139, allocations: 0.5181 MB / 381.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.002185, allocations: 4 kB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.002357, allocations: 31.77 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.002546, allocations: 79.62 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.002712, allocations: 99.5 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.002813, allocations: 63.84 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.112e-05/0.002884, allocations: 15.84 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.002927, allocations: 31.91 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.002969, allocations: 11.92 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.002981, allocations: 4 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.067e-05/0.003032, allocations: 31.94 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.003067, allocations: 23.91 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.003084, allocations: 11.94 kB / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.003186, allocations: 71.73 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003187, allocations: 0 / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003188, allocations: 0 / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.003191, allocations: 0 / 381.9 MB, free: 20.76 MB / 314.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.0002339/0.003425, allocations: 420.1 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.568e-05/0.003451, allocations: 8.031 kB / 382.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.003475, allocations: 12.89 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.34e-05/0.003559, allocations: 144.9 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.003565, allocations: 4.375 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.003578, allocations: 384 / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.134e-05/0.003649, allocations: 58.7 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003656, allocations: 0 / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.003662, allocations: 3.938 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.003666, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.003684, allocations: 11.98 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.003837, allocations: 252.3 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.003934, allocations: 39.05 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.003946, allocations: 19.62 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.003958, allocations: 4 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.00397, allocations: 37.39 kB / 382.9 MB, free: 19.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.00397, allocations: 0 / 382.9 MB, free: 19.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.00021/0.00418, allocations: 89.58 kB / 383 MB, free: 19.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/0.004196, allocations: 51.41 kB / 383 MB, free: 19.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.00426, allocations: 212.7 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-06/0.004264, allocations: 25.7 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.004291, allocations: 150.8 kB / 383.4 MB, free: 19.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.004306, allocations: 23.81 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.004328, allocations: 19.38 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.004367, allocations: 0.4962 MB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.004377, allocations: 11.94 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.004386, allocations: 4 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.004412, allocations: 23.86 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004414, allocations: 3.938 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.1e-05/0.004465, allocations: 57.66 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/0.004473, allocations: 4 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.004477, allocations: 3.984 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.004485, allocations: 0 / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.314e-05/0.004518, allocations: 12 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.00452, allocations: 3.938 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.004542, allocations: 4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.004546, allocations: 4 kB / 384.1 MB, free: 18.38 MB / 314.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 3.541e-05/0.004581, allocations: 160.5 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.0046, allocations: 7.953 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.004676, allocations: 74.09 kB / 384.3 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.004678, allocations: 3.984 kB / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.004679, allocations: 0 / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004682, allocations: 0 / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.004827, allocations: 305.9 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004827, allocations: 4 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.004851, allocations: 8 kB / 384.6 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.004852, allocations: 4 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.004857, allocations: 288 / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004857, allocations: 0 / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.004858, allocations: 3.984 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.964e-05/0.004918, allocations: 212 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.004925, allocations: 11.94 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-06/0.004934, allocations: 0 / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.004965, allocations: 4 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.004984, allocations: 7.984 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.004986, allocations: 4 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.28e-05/0.005019, allocations: 150.4 kB / 385 MB, free: 17.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005019, allocations: 0 / 385 MB, free: 17.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.005172, allocations: 19.98 kB / 385.1 MB, free: 17.36 MB / 314.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.0006697/0.005842, allocations: 388.1 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.827e-05/0.0059, allocations: 23.69 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.005901, allocations: 0 / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.005917, allocations: 23.61 kB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.006098, allocations: 28.61 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.006297, allocations: 172.2 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.075e-05/0.006317, allocations: 67.2 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.279e-05/0.00634, allocations: 11.98 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.006375, allocations: 78.2 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006375, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of Templates: time 0.002264/0.008639, allocations: 1.285 MB / 387.1 MB, free: 15.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.766536473762244]