Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001073/0.001073, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001215/0.001215, allocations: 170.4 kB / 24.91 MB, free: 8.688 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 0.943/0.943, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.248/0.248, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.655e-05, allocations: 4.062 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.006028/0.006054, allocations: 1.771 MB / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.007046, allocations: 0.5801 MB / 327.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.007106, allocations: 0 / 327.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005674/0.007673, allocations: 459 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.01115, allocations: 287.1 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.01158, allocations: 179.5 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.01183, allocations: 187.6 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.01193, allocations: 8.234 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.01208, allocations: 127.8 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.01229, allocations: 207.6 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.0123, allocations: 4 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.01241, allocations: 47.92 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.0125, allocations: 95.62 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.01255, allocations: 36.25 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.01281, allocations: 223.1 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01282, allocations: 0 / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01282, allocations: 3.938 kB / 329.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.01282, allocations: 0 / 329.5 MB, free: 3.422 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005426/0.01337, allocations: 0.5579 MB / 330 MB, free: 2.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.0134, allocations: 8.031 kB / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.01345, allocations: 28.91 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.01367, allocations: 250 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.01369, allocations: 4.375 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.01371, allocations: 4.375 kB / 330.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.01683, allocations: 62.92 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.01684, allocations: 192 / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.01686, allocations: 12.12 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.01686, allocations: 0 / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.248e-05/0.01689, allocations: 11.94 kB / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.01723, allocations: 215 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.01738, allocations: 42.59 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.0174, allocations: 8.859 kB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.01742, allocations: 0 / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.01744, allocations: 34.5 kB / 330.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.01744, allocations: 4 kB / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006147/0.01806, allocations: 234.4 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.01809, allocations: 55.41 kB / 331 MB, free: 1.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.0185, allocations: 0.5282 MB / 331.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.01852, allocations: 37.64 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.0186, allocations: 137.3 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.01864, allocations: 35.69 kB / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.01868, allocations: 25.7 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.0188, allocations: 366.6 kB / 332.1 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.01882, allocations: 8 kB / 332.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.01884, allocations: 17.3 kB / 332.1 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.071e-05/0.0189, allocations: 37.97 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01891, allocations: 0 / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001125/0.01902, allocations: 85.58 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01903, allocations: 8 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01904, allocations: 0 / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01905, allocations: 0 / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.01913, allocations: 27.92 kB / 332.3 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.01914, allocations: 4 kB / 332.3 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.01918, allocations: 7.984 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.01919, allocations: 4 kB / 332.3 MB, free: 440 kB / 298.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 (11): * Single equations (assignments): 11 * 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.131e-05/0.01927, allocations: 116.6 kB / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.01931, allocations: 27.97 kB / 332.5 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.01948, allocations: 125.4 kB / 332.6 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01949, allocations: 0 / 332.6 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01949, allocations: 0 / 332.6 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01949, allocations: 3.938 kB / 332.6 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.0229, allocations: 336.2 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02291, allocations: 64 / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.02298, allocations: 31.92 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.02299, allocations: 0 / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.023, allocations: 4 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.023, allocations: 3.984 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.023, allocations: 0 / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.02315, allocations: 201.1 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.02318, allocations: 35.72 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.0232, allocations: 4 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.02328, allocations: 8.172 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.02331, allocations: 19.92 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.02332, allocations: 4 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002328/0.02355, allocations: 283.2 kB / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02355, allocations: 0 / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.02379, allocations: 39.88 kB / 333.5 MB, free: 15.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001526/0.02532, allocations: 0.5832 MB / 334.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.02543, allocations: 48.78 kB / 334.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.02544, allocations: 8 kB / 334.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.02548, allocations: 28.78 kB / 334.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/0.02876, allocations: 30.3 kB / 334.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/0.02954, allocations: 0.6339 MB / 334.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.943e-05/0.02964, allocations: 127.2 kB / 335 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.777e-05/0.0297, allocations: 20.47 kB / 335 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.02977, allocations: 59.38 kB / 335.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02977, allocations: 0 / 335.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of Templates: time 0.01105/0.04082, allocations: 1.938 MB / 337 MB, free: 11.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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: 2.8755816840566695]