Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001852/0.001852, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002036/0.002036, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.552/1.552, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3501/0.3501, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.06e-05, allocations: 2.312 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003543/0.003574, allocations: 1.63 MB / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004793, allocations: 0.5298 MB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.004878, allocations: 0 / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.005198, allocations: 79.7 kB / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.005622, allocations: 107.5 kB / 377.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.005949, allocations: 91.62 kB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.006162, allocations: 87.75 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.006274, allocations: 7.984 kB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.00641, allocations: 55.88 kB / 377.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.006535, allocations: 43.89 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.006558, allocations: 4 kB / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.006694, allocations: 47.91 kB / 378 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.006757, allocations: 23.92 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.006795, allocations: 11.94 kB / 378 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.00705, allocations: 115.5 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.007053, allocations: 0 / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007054, allocations: 0 / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.007061, allocations: 0 / 378.1 MB, free: 2.133 MB / 346.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.000664/0.007725, allocations: 443.6 kB / 378.5 MB, free: 1.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.007769, allocations: 8.031 kB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.007841, allocations: 20.84 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.00809, allocations: 153 kB / 378.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.008101, allocations: 4.375 kB / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.008126, allocations: 384 / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.008297, allocations: 50.25 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.008312, allocations: 192 / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.008326, allocations: 4.125 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.008332, allocations: 4 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.008432, allocations: 31.95 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.008922, allocations: 307.7 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.009047, allocations: 47.05 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.009102, allocations: 23.7 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.009126, allocations: 0 / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.009175, allocations: 41.33 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.009176, allocations: 0 / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009141/0.01009, allocations: 209.2 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.01016, allocations: 51.41 kB / 379.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.01058, allocations: 254.4 kB / 379.7 MB, free: 356 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.0106, allocations: 25.7 kB / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01071, allocations: 154.9 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.01076, allocations: 27.75 kB / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.01081, allocations: 35.36 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003263/0.01114, allocations: 0.5 MB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.01121, allocations: 23.98 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/0.01127, allocations: 23.98 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.01141, allocations: 63.95 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01141, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002092/0.01162, allocations: 105.5 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.01164, allocations: 5.719 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01165, allocations: 0 / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.01167, allocations: 4 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.01176, allocations: 12 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01177, allocations: 4 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.01181, allocations: 7.984 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.01181, allocations: 4 kB / 380.7 MB, free: 15.32 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 (8): * Single equations (assignments): 8 * 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.0001363/0.01195, allocations: 164.5 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.01199, allocations: 15.91 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.01228, allocations: 111.1 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01228, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01229, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01229, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.01288, allocations: 420.9 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01288, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.01295, allocations: 16 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.01295, allocations: 3.938 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.01297, allocations: 4 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01298, allocations: 3.984 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01298, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.01329, allocations: 259.4 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.01331, allocations: 7.953 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.01333, allocations: 4 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.01339, allocations: 4.031 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.01344, allocations: 15.92 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.01345, allocations: 4.422 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.0136, allocations: 172.2 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0136, allocations: 0 / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.01388, allocations: 23.98 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.003371/0.01725, allocations: 496.2 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01748, allocations: 67.58 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01748, allocations: 3.938 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/0.01758, allocations: 43.61 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.01792, allocations: 26.8 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006224/0.01854, allocations: 249.9 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.01866, allocations: 88.8 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.166e-05/0.01871, allocations: 12.72 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.01875, allocations: 16.5 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01876, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005424/0.02418, allocations: 1.376 MB / 384.3 MB, free: 11.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.953185015940107]