Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0009721/0.0009721, 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.001012/0.001012, 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.9398/0.9398, 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.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.2781/0.2781, allocations: 32.8 MB / 294.3 MB, free: 0.707 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 376 MB, free: 4.516 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.283e-05, allocations: 2.312 kB / 376 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.001862/0.001875, allocations: 1.645 MB / 377.7 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003071, allocations: 1.278 MB / 379 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.003116, allocations: 4 kB / 379 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.003286, allocations: 27.78 kB / 379 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.003513, allocations: 87.5 kB / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.003697, allocations: 111.6 kB / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.003806, allocations: 79.7 kB / 379.3 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.936e-05/0.003876, allocations: 7.984 kB / 379.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.003924, allocations: 31.92 kB / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.004008, allocations: 31.89 kB / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.004023, allocations: 8 kB / 379.3 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.004133, allocations: 83.88 kB / 379.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.004168, allocations: 11.94 kB / 379.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.004195, allocations: 15.97 kB / 379.4 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.004367, allocations: 135.5 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004368, allocations: 0 / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004369, allocations: 0 / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.004372, allocations: 0 / 379.6 MB, free: 0.9453 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.0003553/0.004727, allocations: 428 kB / 380 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.004758, allocations: 8.031 kB / 380 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.004794, allocations: 12.89 kB / 380 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.004926, allocations: 148.3 kB / 380.2 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.004934, allocations: 384 / 380.2 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.004962, allocations: 8.375 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.00508, allocations: 104 kB / 380.3 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005089, allocations: 192 / 380.3 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005097, allocations: 4.125 kB / 380.3 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005104, allocations: 0 / 380.3 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.005128, allocations: 4 kB / 380.3 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.005389, allocations: 279.7 kB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.005526, allocations: 47.05 kB / 380.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.005545, allocations: 11.69 kB / 380.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.005564, allocations: 8.016 kB / 380.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.005584, allocations: 37.39 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.005585, allocations: 0 / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002857/0.005871, allocations: 101.7 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.005901, allocations: 77.11 kB / 380.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.006012, allocations: 197.9 kB / 381 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.006024, allocations: 29.7 kB / 381.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.006068, allocations: 138.9 kB / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.006084, allocations: 19.86 kB / 381.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.006112, allocations: 27.36 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.006215, allocations: 0.4922 MB / 381.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.006232, allocations: 7.984 kB / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.006265, allocations: 49.08 kB / 381.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.0063, allocations: 31.86 kB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.0063, allocations: 0 / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.066e-05/0.006371, allocations: 57.62 kB / 381.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.006381, allocations: 8 kB / 381.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.006384, allocations: 0 / 381.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.006397, allocations: 0 / 381.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.01e-05/0.006437, allocations: 19.95 kB / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.006442, allocations: 0 / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.006464, allocations: 11.89 kB / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.006468, allocations: 0 / 381.9 MB, free: 14.37 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.1e-05/0.006529, allocations: 164.6 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.006549, allocations: 15.83 kB / 382.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.966e-05/0.006649, allocations: 62.16 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.006651, allocations: 4 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.006654, allocations: 0 / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006657, allocations: 3.984 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.006876, allocations: 325.3 kB / 382.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006877, allocations: 0 / 382.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.006905, allocations: 12 kB / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006907, allocations: 0 / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-06/0.006912, allocations: 0 / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006913, allocations: 0 / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006914, allocations: 192 / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.007014, allocations: 215.8 kB / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.007024, allocations: 11.94 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.007034, allocations: 0 / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.007068, allocations: 8 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.007091, allocations: 3.984 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007095, allocations: 8 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.619e-05/0.007151, allocations: 144.9 kB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007151, allocations: 0 / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.007329, allocations: 39.86 kB / 382.9 MB, free: 13.3 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.0009232/0.008252, allocations: 487.5 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.008342, allocations: 35.62 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008344, allocations: 0 / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.008366, allocations: 19.67 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.00855, allocations: 23.92 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.008822, allocations: 169.9 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.008854, allocations: 63.34 kB / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.008892, allocations: 15.97 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.008924, allocations: 20.48 kB / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008924, allocations: 0 / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.003111/0.01204, allocations: 1.841 MB / 385.6 MB, free: 10.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.219706427771598]