Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001106/0.001106, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001135/0.001135, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9548/0.9548, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.2611/0.2611, allocations: 34.27 MB / 296 MB, free: 0.7734 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.006e-05, allocations: 2.312 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00216/0.00218, allocations: 1.638 MB / 379.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.002911, allocations: 0.5258 MB / 380.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.002976, allocations: 0 / 380.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.003191, allocations: 31.72 kB / 380.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.003497, allocations: 79.61 kB / 380.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.003739, allocations: 91.64 kB / 380.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.003877, allocations: 75.7 kB / 380.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.003972, allocations: 7.984 kB / 380.5 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.004025, allocations: 27.92 kB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.004074, allocations: 15.97 kB / 380.5 MB, free: 484 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.004088, allocations: 4 kB / 380.5 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.004153, allocations: 31.92 kB / 380.5 MB, free: 448 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.004198, allocations: 11.94 kB / 380.6 MB, free: 436 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.004225, allocations: 19.92 kB / 380.6 MB, free: 416 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.004366, allocations: 71.73 kB / 380.7 MB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004368, allocations: 0 / 380.7 MB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004369, allocations: 0 / 380.7 MB, free: 344 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004373, allocations: 4 kB / 380.7 MB, free: 340 kB / 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.0004308/0.004804, allocations: 404.2 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.004841, allocations: 11.97 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.00488, allocations: 8.891 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.005039, allocations: 136.5 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.005049, allocations: 384 / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.005069, allocations: 8.375 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.005181, allocations: 50.95 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.005192, allocations: 4.188 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.005201, allocations: 4.125 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.005209, allocations: 0 / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.005239, allocations: 11.92 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.005497, allocations: 275.7 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.005648, allocations: 47.05 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.005669, allocations: 7.781 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.005689, allocations: 11.92 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.00571, allocations: 41.33 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.00571, allocations: 0 / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003157/0.006026, allocations: 105.5 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.006054, allocations: 51.41 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.006164, allocations: 201.9 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.006174, allocations: 25.7 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.006225, allocations: 138.9 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.006245, allocations: 19.8 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.006272, allocations: 23.36 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.006391, allocations: 0.4923 MB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.006407, allocations: 8 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.006421, allocations: 8 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.006455, allocations: 23.69 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.006456, allocations: 0 / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.234e-05/0.006538, allocations: 65.52 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.006551, allocations: 4 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006556, allocations: 0 / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.006572, allocations: 0 / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.006611, allocations: 11.98 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.006617, allocations: 0 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.006636, allocations: 15.94 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.00664, allocations: 0 / 382.8 MB, free: 13.94 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.642e-05/0.006706, allocations: 156.6 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.006726, allocations: 11.89 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.006837, allocations: 78.06 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.006839, allocations: 0 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006842, allocations: 0 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006846, allocations: 0 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.007075, allocations: 317.7 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007076, allocations: 4 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.007108, allocations: 20.05 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00711, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.007117, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007118, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007119, allocations: 3.938 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.00724, allocations: 211.8 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.007248, allocations: 3.953 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.007261, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-05/0.007292, allocations: 4 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.007326, allocations: 3.984 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.007331, allocations: 4 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.007396, allocations: 154.1 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007396, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.007579, allocations: 15.98 kB / 383.8 MB, free: 12.9 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.0008766/0.008455, allocations: 388.5 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.896e-05/0.008544, allocations: 31.62 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008546, allocations: 0 / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.008567, allocations: 19.67 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.00877, allocations: 23.11 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.009057, allocations: 178.5 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.009094, allocations: 67.28 kB / 384.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.531e-05/0.009119, allocations: 8 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.009145, allocations: 16.48 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009146, allocations: 0 / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of Templates: time 0.002797/0.01194, allocations: 1.165 MB / 385.7 MB, free: 11.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.0699916100129485]