Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001397/0.001397, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001691/0.001691, allocations: 161 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.9909/0.9909, allocations: 177.1 MB / 205 MB, free: 5.629 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.2594/0.2594, allocations: 34.26 MB / 295.7 MB, free: 0.7656 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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,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.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.732e-05, allocations: 2.312 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.002646/0.002673, allocations: 1.653 MB / 379.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.004177, allocations: 1.27 MB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.004237, allocations: 0 / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.004463, allocations: 27.73 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.004775, allocations: 91.48 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.005017, allocations: 91.69 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.005162, allocations: 67.78 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.005252, allocations: 8 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.005318, allocations: 35.89 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.005415, allocations: 23.92 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.005432, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.005586, allocations: 87.88 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.005635, allocations: 19.91 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.005666, allocations: 11.94 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.005892, allocations: 131.5 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005894, allocations: 8 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005895, allocations: 0 / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005899, allocations: 0 / 381.6 MB, free: 15.11 MB / 362.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.0004414/0.006341, allocations: 431.9 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.006377, allocations: 8.031 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.006423, allocations: 8.891 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.006584, allocations: 140.5 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.006594, allocations: 384 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.00662, allocations: 4.375 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.006767, allocations: 96.03 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.006778, allocations: 8.188 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.006789, allocations: 4.125 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.006799, allocations: 4 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.00683, allocations: 7.984 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.007142, allocations: 279.7 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.007316, allocations: 39.05 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.007344, allocations: 19.69 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.007367, allocations: 3.938 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.007392, allocations: 37.39 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.007393, allocations: 0 / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000374/0.007767, allocations: 101.5 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.007812, allocations: 81.05 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.007947, allocations: 199.8 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.007959, allocations: 29.7 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.008016, allocations: 142.8 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.008039, allocations: 23.78 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.008075, allocations: 19.38 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.008196, allocations: 0.4923 MB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.008216, allocations: 4 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.008256, allocations: 49.27 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.008302, allocations: 35.7 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.008303, allocations: 0 / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.692e-05/0.0084, allocations: 65.56 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.008414, allocations: 4 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.008418, allocations: 0 / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.008434, allocations: 0 / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.008485, allocations: 12 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.00849, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.008519, allocations: 7.938 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.008525, allocations: 4 kB / 383.9 MB, free: 12.54 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 (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 6.798e-05/0.008593, allocations: 156.6 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.008626, allocations: 19.89 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.008754, allocations: 70.06 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008756, allocations: 288 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.008759, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.008762, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.009042, allocations: 329.4 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.009043, allocations: 0 / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.009082, allocations: 8 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009084, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.00909, allocations: 4.188 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.009094, allocations: 11.98 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.009095, allocations: 0 / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.00922, allocations: 211.8 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.009231, allocations: 7.953 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.009245, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.009298, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.009328, allocations: 7.984 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.009333, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.184e-05/0.009404, allocations: 153.5 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009404, allocations: 0 / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.009674, allocations: 43.86 kB / 384.9 MB, free: 11.46 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 (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.001141/0.01081, allocations: 474.3 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.01093, allocations: 35.61 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01093, allocations: 8 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.01095, allocations: 15.69 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.01123, allocations: 27.84 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.01158, allocations: 169.9 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.866e-05/0.01163, allocations: 59.34 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.01167, allocations: 15.92 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.01171, allocations: 12.5 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01171, allocations: 8 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.004038/0.01575, allocations: 1.831 MB / 387.5 MB, free: 8.941 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.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: 3.2409526370465755]