Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.0009908/0.0009908, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009143/0.0009143, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9622/0.9622, allocations: 177.1 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] 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.2424/0.2424, allocations: 32.81 MB / 294.3 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.875e-05, allocations: 9.344 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002227/0.002255, allocations: 1.661 MB / 377.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007144/0.00297, allocations: 0.5337 MB / 378.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.003023, allocations: 4 kB / 378.2 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.003276, allocations: 71.7 kB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.003545, allocations: 103.5 kB / 378.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.003748, allocations: 95.62 kB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.003891, allocations: 83.75 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.003981, allocations: 11.94 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.182e-05/0.004042, allocations: 47.88 kB / 378.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.004127, allocations: 47.88 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004141, allocations: 4 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.36e-05/0.004215, allocations: 43.98 kB / 378.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.004256, allocations: 15.94 kB / 378.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.004283, allocations: 19.91 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.004424, allocations: 91.55 kB / 378.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004426, allocations: 4 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004427, allocations: 0 / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004431, allocations: 0 / 378.9 MB, free: 1.805 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.0003844/0.004815, allocations: 435.9 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.004848, allocations: 12.03 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.00489, allocations: 8.891 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.005015, allocations: 152.3 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.005024, allocations: 4.375 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005043, allocations: 4.375 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.005149, allocations: 62.92 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005157, allocations: 192 / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.005166, allocations: 4.125 kB / 379.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.005172, allocations: 0 / 379.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.037e-05/0.005203, allocations: 11.98 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.005501, allocations: 283.7 kB / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.005571, allocations: 43.05 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.005597, allocations: 23.62 kB / 379.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.005617, allocations: 0 / 379.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.005641, allocations: 41.47 kB / 379.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005642, allocations: 0 / 379.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005006/0.006142, allocations: 173.6 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.006171, allocations: 51.41 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.006297, allocations: 230.6 kB / 380.4 MB, free: 128 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.006307, allocations: 25.7 kB / 380.4 MB, free: 96 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.006373, allocations: 158.8 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.006393, allocations: 23.78 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.006423, allocations: 31.38 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.006536, allocations: 0.4961 MB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.006559, allocations: 12.06 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.006577, allocations: 11.98 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.00662, allocations: 35.91 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006621, allocations: 0 / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.821e-05/0.006709, allocations: 77.53 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.006721, allocations: 4 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.006725, allocations: 4 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006736, allocations: 4 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.0068, allocations: 15.98 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.006805, allocations: 0 / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.006823, allocations: 8 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.00683, allocations: 3.984 kB / 381.3 MB, free: 15.18 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 6.176e-05/0.006892, allocations: 168.5 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.006913, allocations: 15.91 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.007034, allocations: 87.08 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007036, allocations: 0 / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.00704, allocations: 0 / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007043, allocations: 4 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.007317, allocations: 377 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007318, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.007352, allocations: 12 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.007355, allocations: 4 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.007363, allocations: 3.984 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007364, allocations: 0 / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007365, allocations: 0 / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.007487, allocations: 243.4 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.007496, allocations: 11.89 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.007508, allocations: 8.031 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.00754, allocations: 3.984 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.00757, allocations: 11.94 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.007575, allocations: 4 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.519e-05/0.00764, allocations: 167.8 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00764, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001579/0.007798, allocations: 19.94 kB / 382.4 MB, free: 13.98 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.0008127/0.008611, allocations: 434.1 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.008709, allocations: 43.61 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.008711, allocations: 0 / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.008738, allocations: 35.61 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.008934, allocations: 18.48 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.009251, allocations: 226.2 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.908e-05/0.00929, allocations: 67.34 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.138e-05/0.009321, allocations: 17.08 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.009349, allocations: 16.5 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009349, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003016/0.01236, allocations: 1.483 MB / 384.7 MB, free: 11.76 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.8871649247594178]