Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001156/0.001156, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001049/0.001049, allocations: 167.1 kB / 24.84 MB, free: 8.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 158.6 MB / 186.7 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1464/0.1464, allocations: 32.38 MB / 271.5 MB, free: 14.41 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.316e-05, allocations: 2.312 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00371/0.003743, allocations: 1.592 MB / 350.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.004482, allocations: 307.5 kB / 350.8 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.004565, allocations: 0 / 350.8 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.004877, allocations: 19.86 kB / 350.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.005115, allocations: 43.7 kB / 350.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.005444, allocations: 71.78 kB / 350.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.005667, allocations: 63.77 kB / 351 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.005807, allocations: 8 kB / 351 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.005886, allocations: 27.91 kB / 351 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.005965, allocations: 15.92 kB / 351.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.005987, allocations: 4 kB / 351.1 MB, free: 7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.006102, allocations: 27.98 kB / 351.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.006167, allocations: 15.92 kB / 351.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.006199, allocations: 8 kB / 351.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.006416, allocations: 67.67 kB / 351.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.006422, allocations: 0 / 351.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006423, allocations: 0 / 351.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.006428, allocations: 0 / 351.2 MB, free: 6.883 MB / 282.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.0004129/0.006841, allocations: 404.2 kB / 351.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.006886, allocations: 12.03 kB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.006941, allocations: 8.891 kB / 351.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.007104, allocations: 132.5 kB / 351.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.007118, allocations: 384 / 351.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.007145, allocations: 8.359 kB / 351.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.007281, allocations: 54.95 kB / 351.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.007294, allocations: 4.125 kB / 351.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.007306, allocations: 4.125 kB / 351.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.007315, allocations: 4 kB / 351.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.007346, allocations: 8 kB / 351.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.007651, allocations: 248.4 kB / 352 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.007871, allocations: 46.97 kB / 352.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.007896, allocations: 11.69 kB / 352.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.007922, allocations: 0 / 352.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.007948, allocations: 41.31 kB / 352.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.007949, allocations: 0 / 352.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003998/0.008349, allocations: 85.64 kB / 352.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.008378, allocations: 51.41 kB / 352.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.008492, allocations: 192.1 kB / 352.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.008501, allocations: 29.7 kB / 352.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.008555, allocations: 138.9 kB / 352.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.008591, allocations: 23.8 kB / 352.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.008634, allocations: 23.36 kB / 352.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.008707, allocations: 0.4884 MB / 353.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.008723, allocations: 3.984 kB / 353.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.008741, allocations: 4 kB / 353.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.00878, allocations: 19.69 kB / 353.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.008781, allocations: 4 kB / 353.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.00889, allocations: 61.52 kB / 353.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.008909, allocations: 7.938 kB / 353.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.008917, allocations: 4 kB / 353.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.00893, allocations: 0 / 353.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.709e-05/0.008997, allocations: 12 kB / 353.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.009001, allocations: 3.984 kB / 353.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.009027, allocations: 4 kB / 353.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.009034, allocations: 4 kB / 353.3 MB, free: 4.57 MB / 282.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.955e-05/0.009103, allocations: 152.6 kB / 353.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.009136, allocations: 11.89 kB / 353.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.009279, allocations: 70.33 kB / 353.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.009282, allocations: 0 / 353.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.009287, allocations: 8 kB / 353.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.009295, allocations: 0 / 353.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.009594, allocations: 290 kB / 353.8 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.009598, allocations: 3.984 kB / 353.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.009664, allocations: 11.94 kB / 353.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.009669, allocations: 0 / 353.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.009677, allocations: 4 kB / 353.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.00968, allocations: 0 / 353.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.009684, allocations: 0 / 353.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.009855, allocations: 207.8 kB / 354 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.009868, allocations: 3.953 kB / 354 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.009883, allocations: 8 kB / 354 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.009942, allocations: 3.984 kB / 354 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.009988, allocations: 4 kB / 354.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.009994, allocations: 0 / 354.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.062e-05/0.01005, allocations: 148.1 kB / 354.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01005, allocations: 0 / 354.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.01034, allocations: 11.94 kB / 354.2 MB, free: 3.582 MB / 282.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.001138/0.01148, allocations: 388.5 kB / 354.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.0116, allocations: 27.62 kB / 354.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01161, allocations: 0 / 354.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.01164, allocations: 23.66 kB / 354.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.01197, allocations: 29.05 kB / 354.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.01243, allocations: 162 kB / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.13e-05/0.01246, allocations: 63.34 kB / 354.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.959e-05/0.0125, allocations: 4 kB / 354.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.01256, allocations: 78.19 kB / 355 MB, free: 2.852 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01256, allocations: 0 / 355 MB, free: 2.852 MB / 282.7 MB Notification: Performance of Templates: time 0.003366/0.01592, allocations: 1.248 MB / 356.2 MB, free: 1.617 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.2923816316761076]