Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001602/0.001602, allocations: 112.2 kB / 21.19 MB, free: 0.7734 MB / 14.72 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.001886/0.001886, allocations: 210.1 kB / 24.5 MB, free: 4.152 MB / 14.72 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2349/0.2349, allocations: 44.92 MB / 359.6 MB, free: 6.305 MB / 286.1 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 62.25 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3376, allocations: 65.47 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003147/0.3408, allocations: 1.626 MB / 0.5598 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3427, allocations: 1.259 MB / 0.5611 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.3427, allocations: 4 kB / 0.5611 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.3429, allocations: 31.78 kB / 0.5611 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.3432, allocations: 79.62 kB / 0.5612 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.3435, allocations: 107.7 kB / 0.5613 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3437, allocations: 79.77 kB / 0.5614 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.3438, allocations: 7.984 kB / 0.5614 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.3438, allocations: 31.86 kB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.344, allocations: 31.84 kB / 0.5614 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.344, allocations: 0 / 0.5614 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.3442, allocations: 95.94 kB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.3443, allocations: 19.86 kB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.3443, allocations: 23.88 kB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3446, allocations: 145.8 kB / 0.5617 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3446, allocations: 0 / 0.5617 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3446, allocations: 4 kB / 0.5617 GB, free: 4.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3446, allocations: 4 kB / 0.5617 GB, free: 4.164 MB / 398.1 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.0005537/0.3452, allocations: 325.7 kB / 0.562 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3452, allocations: 8.031 kB / 0.562 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.3452, allocations: 8.891 kB / 0.562 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3454, allocations: 142.3 kB / 0.5622 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3455, allocations: 384 / 0.5622 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3455, allocations: 4.375 kB / 0.5622 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3456, allocations: 71.52 kB / 0.5623 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3457, allocations: 0 / 0.5623 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3457, allocations: 4 kB / 0.5623 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3457, allocations: 0 / 0.5623 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.3458, allocations: 23.98 kB / 0.5623 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.3462, allocations: 255.8 kB / 0.5625 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3464, allocations: 46.56 kB / 0.5626 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.3465, allocations: 16.94 kB / 0.5626 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3465, allocations: 4 kB / 0.5626 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3465, allocations: 34.56 kB / 0.5626 GB, free: 3.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3465, allocations: 0 / 0.5626 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000587/0.3471, allocations: 153.4 kB / 0.5628 GB, free: 2.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.3472, allocations: 81.11 kB / 0.5628 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3474, allocations: 145.8 kB / 0.563 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3474, allocations: 25.7 kB / 0.563 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.3475, allocations: 88.14 kB / 0.5631 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3475, allocations: 27.78 kB / 0.5631 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.3475, allocations: 25.59 kB / 0.5631 GB, free: 2.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3477, allocations: 326.8 kB / 0.5635 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.3478, allocations: 19.98 kB / 0.5635 GB, free: 2.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/0.3479, allocations: 33.7 kB / 0.5635 GB, free: 2.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.348, allocations: 52.83 kB / 0.5636 GB, free: 2.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.348, allocations: 0 / 0.5636 GB, free: 2.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002276/0.3482, allocations: 89.64 kB / 0.5636 GB, free: 1.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3483, allocations: 4 kB / 0.5636 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3483, allocations: 0 / 0.5636 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3483, allocations: 0 / 0.5636 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.3483, allocations: 23.86 kB / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3483, allocations: 0 / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.3484, allocations: 8 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3484, allocations: 3.938 kB / 0.5637 GB, free: 1.949 MB / 398.1 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 9.71e-05/0.3485, allocations: 117.8 kB / 0.5638 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.3485, allocations: 11.95 kB / 0.5638 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.3488, allocations: 94.33 kB / 0.5639 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3488, allocations: 7.984 kB / 0.5639 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3488, allocations: 0 / 0.5639 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3488, allocations: 3.984 kB / 0.5639 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.3493, allocations: 329.8 kB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3493, allocations: 4 kB / 0.5642 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.3493, allocations: 15.98 kB / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3493, allocations: 0 / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3494, allocations: 4 kB / 0.5642 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3494, allocations: 3.938 kB / 0.5642 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3494, allocations: 0 / 0.5642 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3496, allocations: 183.4 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.3496, allocations: 15.94 kB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3496, allocations: 0 / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.3497, allocations: 11.94 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.3497, allocations: 3.984 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3498, allocations: 4 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.3499, allocations: 109.8 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3499, allocations: 0 / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000281/0.3501, allocations: 39.86 kB / 0.5646 GB, free: 0.918 MB / 398.1 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.001789/0.3519, allocations: 0.4975 MB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3521, allocations: 51.91 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3521, allocations: 4 kB / 0.5651 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.3522, allocations: 27.97 kB / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3526, allocations: 8 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.353, allocations: 199.2 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3534, allocations: 0.7018 MB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.3534, allocations: 15.44 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3534, allocations: 0 / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Templates: time 0.00413/0.3576, allocations: 1.977 MB / 0.568 GB, free: 13.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.930603303015232]