Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0009737/0.0009737, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009389/0.0009389, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2958/0.2958, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.558e-05, allocations: 9.766 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.006252/0.006287, allocations: 1.646 MB / 377.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.007359, allocations: 0.5336 MB / 378.2 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.007419, allocations: 0 / 378.2 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.007624, allocations: 27.84 kB / 378.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.007916, allocations: 83.55 kB / 378.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.008249, allocations: 119.5 kB / 378.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.00842, allocations: 71.77 kB / 378.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.00853, allocations: 4 kB / 378.5 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.008609, allocations: 27.92 kB / 378.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.008678, allocations: 23.91 kB / 378.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.008703, allocations: 0 / 378.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.008797, allocations: 27.98 kB / 378.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.00886, allocations: 19.92 kB / 378.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.008898, allocations: 19.86 kB / 378.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.009087, allocations: 79.69 kB / 378.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.00909, allocations: 0 / 378.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.009092, allocations: 0 / 378.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.009097, allocations: 0 / 378.7 MB, free: 2.305 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005105/0.009608, allocations: 416.1 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.009657, allocations: 8.031 kB / 379.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.009721, allocations: 12.89 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.009912, allocations: 141 kB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.00993, allocations: 8.312 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.009951, allocations: 384 / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.01009, allocations: 58.7 kB / 379.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.0101, allocations: 4 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.01011, allocations: 0 / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01012, allocations: 0 / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.471e-05/0.01016, allocations: 11.94 kB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.01054, allocations: 279.8 kB / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.01075, allocations: 46.94 kB / 379.6 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.01078, allocations: 15.77 kB / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.0108, allocations: 0 / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.01083, allocations: 37.39 kB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.01083, allocations: 4 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004241/0.01126, allocations: 101.4 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.0113, allocations: 51.41 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.01148, allocations: 220.8 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.01149, allocations: 25.7 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.01157, allocations: 150.8 kB / 380.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.0116, allocations: 15.84 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.01164, allocations: 27.36 kB / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.0118, allocations: 0.4922 MB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.01184, allocations: 11.98 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.01188, allocations: 11.98 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.01193, allocations: 27.88 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01193, allocations: 0 / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001053/0.01204, allocations: 61.59 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01205, allocations: 4 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.01206, allocations: 0 / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01207, allocations: 0 / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.01214, allocations: 11.98 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01215, allocations: 0 / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.01218, allocations: 4 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.01218, allocations: 3.938 kB / 380.9 MB, free: 15.87 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 8.765e-05/0.01227, allocations: 164.5 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.01231, allocations: 15.91 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.01247, allocations: 66.42 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01248, allocations: 0 / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.01248, allocations: 3.984 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.01248, allocations: 0 / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.01311, allocations: 329.3 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01311, allocations: 0 / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.01317, allocations: 19.92 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01318, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.01318, allocations: 4 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01319, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01319, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.01335, allocations: 223.9 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.01336, allocations: 3.953 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.01338, allocations: 4 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.614e-05/0.01343, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.01347, allocations: 7.984 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.01348, allocations: 0 / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.245e-05/0.01357, allocations: 161.6 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01357, allocations: 0 / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.01384, allocations: 19.94 kB / 381.9 MB, free: 14.79 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.001196/0.01504, allocations: 373.2 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.01516, allocations: 35.67 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01517, allocations: 0 / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.01521, allocations: 19.62 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01545, allocations: 30.2 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.0158, allocations: 186.3 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.874e-05/0.01584, allocations: 63.34 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.01588, allocations: 7.984 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.01591, allocations: 20.5 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01591, allocations: 0 / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Templates: time 0.002974/0.01888, allocations: 1.178 MB / 383.8 MB, free: 12.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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: 3.214591186027974]