Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001536/0.001536, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001263/0.001263, 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.996/0.996, allocations: 177.1 MB / 205 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.2668/0.2668, allocations: 32.8 MB / 294.3 MB, free: 1.207 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.Test16,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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.77e-05, allocations: 2.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002365/0.002393, allocations: 1.656 MB / 377.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007535/0.003146, allocations: 0.5492 MB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.003206, allocations: 0 / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.003474, allocations: 83.62 kB / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.003754, allocations: 99.53 kB / 378.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.003988, allocations: 115.6 kB / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.00414, allocations: 87.7 kB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.004238, allocations: 15.97 kB / 378.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.004308, allocations: 43.89 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.004406, allocations: 55.88 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.004422, allocations: 4 kB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.004503, allocations: 47.92 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.004557, allocations: 23.91 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.004592, allocations: 11.94 kB / 378.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.004757, allocations: 95.59 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.00476, allocations: 3.938 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004761, allocations: 0 / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.004765, allocations: 0 / 378.9 MB, free: 1.742 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.000408/0.005173, allocations: 435.9 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.005211, allocations: 12.03 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.005257, allocations: 20.84 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.005402, allocations: 149.1 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.005412, allocations: 4.375 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.005439, allocations: 384 / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.005564, allocations: 62.94 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.005576, allocations: 4.125 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.005585, allocations: 4.125 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.005592, allocations: 3.938 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.169e-05/0.005624, allocations: 8 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.005932, allocations: 299.7 kB / 379.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.006005, allocations: 50.97 kB / 379.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.006033, allocations: 15.62 kB / 380 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.006058, allocations: 0 / 380 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.006083, allocations: 41.47 kB / 380 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.006084, allocations: 0 / 380 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008798/0.006964, allocations: 169.3 kB / 380.2 MB, free: 356 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.006992, allocations: 55.41 kB / 380.2 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.007127, allocations: 242.4 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.00715, allocations: 25.7 kB / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.007206, allocations: 154.8 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.00723, allocations: 27.78 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.007262, allocations: 23.38 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.007378, allocations: 0.504 MB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.007401, allocations: 7.984 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.00742, allocations: 11.94 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.007472, allocations: 39.89 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.007473, allocations: 0 / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.259e-05/0.007565, allocations: 81.58 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.007578, allocations: 8 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.007582, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.007597, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.007678, allocations: 23.92 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.007683, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.007702, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.007709, allocations: 4 kB / 381.4 MB, free: 15.08 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.54e-05/0.007774, allocations: 160.5 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.007798, allocations: 15.91 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.007941, allocations: 95.12 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.007944, allocations: 7.938 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.007947, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00795, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.008241, allocations: 376.9 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.008243, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.008287, allocations: 23.92 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.00829, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.008298, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008299, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.008301, allocations: 4 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.008433, allocations: 247.5 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.008442, allocations: 11.89 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.008454, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.008489, allocations: 8 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.008521, allocations: 7.922 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.008526, allocations: 4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.008598, allocations: 167.2 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008598, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.008766, allocations: 23.98 kB / 382.5 MB, free: 13.87 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.0009263/0.009693, allocations: 443.4 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.009808, allocations: 43.61 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.00981, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.009841, allocations: 23.67 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01007, allocations: 27.94 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.01044, allocations: 241.8 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.01048, allocations: 67.33 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.492e-05/0.01052, allocations: 25.08 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.01055, allocations: 12.5 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01055, allocations: 3.938 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003159/0.01371, allocations: 1.413 MB / 384.8 MB, free: 11.7 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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: 3.276064652018249]