Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.0009464/0.0009464, 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.001417/0.001417, 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.9435/0.9435, allocations: 177.2 MB / 205 MB, free: 5.293 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.2368/0.2368, allocations: 32.8 MB / 294.3 MB, free: 1.16 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.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.835e-05, allocations: 9.344 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002119/0.002137, allocations: 1.704 MB / 377.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006005/0.002738, allocations: 0.7947 MB / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.002773, allocations: 4 kB / 378.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.003038, allocations: 27.84 kB / 378.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.003245, allocations: 47.69 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.003248, allocations: 0 / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.003386, allocations: 35.84 kB / 378.6 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.182e-05/0.003418, allocations: 8 kB / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.003486, allocations: 7.984 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.587e-05/0.003512, allocations: 19.91 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.003522, allocations: 0 / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.346e-05/0.003565, allocations: 12 kB / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.00361, allocations: 19.92 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.00363, allocations: 4 kB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.00375, allocations: 59.64 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003751, allocations: 0 / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003752, allocations: 0 / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003756, allocations: 4 kB / 378.8 MB, free: 1.879 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003035/0.00406, allocations: 392.3 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.004098, allocations: 12.03 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.004141, allocations: 16.88 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.004264, allocations: 120.5 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.004274, allocations: 384 / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.004282, allocations: 384 / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.004409, allocations: 116.3 kB / 379.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004417, allocations: 192 / 379.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.004425, allocations: 384 / 379.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.004469, allocations: 24.36 kB / 379.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.004507, allocations: 35.8 kB / 379.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.005067, allocations: 1.203 MB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.422e-05/0.005161, allocations: 269.5 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.005202, allocations: 126.9 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.005235, allocations: 119.2 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.005281, allocations: 160.6 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/0.005283, allocations: 3.984 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.715e-05/0.00534, allocations: 37.59 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.005397, allocations: 174.6 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.005555, allocations: 247 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.005564, allocations: 25.7 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.005646, allocations: 210.2 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.00565, allocations: 3.984 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.005693, allocations: 55.27 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.005811, allocations: 0.4962 MB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.005833, allocations: 11.98 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.005924, allocations: 192 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.006083, allocations: 229.5 kB / 383 MB, free: 13.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.006085, allocations: 7.938 kB / 383 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001878/0.006273, allocations: 165.5 kB / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.006286, allocations: 8 kB / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.006292, allocations: 4 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.006308, allocations: 7.938 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.006395, allocations: 43.92 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.006404, allocations: 7.984 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.006456, allocations: 19.84 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.006467, allocations: 16 kB / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001175/0.006585, allocations: 291.9 kB / 383.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.006628, allocations: 156.8 kB / 383.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.006673, allocations: 160.7 kB / 383.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.602e-05/0.006729, allocations: 268 kB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001148/0.006843, allocations: 272.1 kB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.072e-05/0.006894, allocations: 268.1 kB / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.007059, allocations: 0.5193 MB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/0.007086, allocations: 144.9 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.007117, allocations: 144.9 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.261e-05/0.00717, allocations: 280 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.007224, allocations: 268.1 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001792/0.007403, allocations: 276 kB / 386.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.032e-05/0.007453, allocations: 268 kB / 386.5 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.00757, allocations: 459.9 kB / 387 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.007608, allocations: 152.8 kB / 387.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.007672, allocations: 268 kB / 387.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.007725, allocations: 144.9 kB / 387.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.00779, allocations: 276 kB / 387.8 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.007823, allocations: 148.9 kB / 388 MB, free: 8.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.469e-05/0.007888, allocations: 159.3 kB / 388.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007888, allocations: 0 / 388.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.008065, allocations: 16 kB / 388.1 MB, free: 7.91 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 (0): * Single equations (assignments): 0 * 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.0004022/0.008467, allocations: 301 kB / 388.4 MB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.008589, allocations: 75.47 kB / 388.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.008591, allocations: 0 / 388.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.008592, allocations: 1.25 kB / 388.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.008872, allocations: 0.7139 MB / 389.2 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.009122, allocations: 279.8 kB / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.009157, allocations: 71.84 kB / 389.5 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.009228, allocations: 41.08 kB / 389.6 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.009249, allocations: 20.5 kB / 389.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of SimCode: time 5e-07/0.009249, allocations: 0 / 389.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of Templates: time 0.002499/0.01175, allocations: 0.7553 MB / 390.4 MB, free: 5.656 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.9518438042141497]