Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001035/0.001035, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001023/0.001023, allocations: 161 kB / 24.56 MB, free: 20 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.9906/0.9906, allocations: 177.1 MB / 205 MB, free: 5.297 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.251/0.251, allocations: 32.81 MB / 294.3 MB, free: 1.246 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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.008e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002873/0.002893, allocations: 1.661 MB / 377.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.003669, allocations: 0.5298 MB / 378.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.00374, allocations: 8 kB / 378.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.004063, allocations: 131.5 kB / 378.4 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.004314, allocations: 119.5 kB / 378.5 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.004509, allocations: 95.64 kB / 378.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.004663, allocations: 99.72 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.004753, allocations: 15.92 kB / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.004824, allocations: 55.88 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.004931, allocations: 87.83 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004949, allocations: 4 kB / 378.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.788e-05/0.005027, allocations: 47.91 kB / 378.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.005075, allocations: 31.86 kB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.005107, allocations: 15.92 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.005261, allocations: 99.61 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.005264, allocations: 3.984 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005265, allocations: 0 / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.005269, allocations: 0 / 379 MB, free: 1.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004023/0.005671, allocations: 471.6 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.005706, allocations: 12.03 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.005751, allocations: 16.84 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.005897, allocations: 152.4 kB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.005906, allocations: 384 / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.005939, allocations: 8.375 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.006052, allocations: 54.94 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.006061, allocations: 192 / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006072, allocations: 8.125 kB / 379.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.00608, allocations: 4 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.222e-05/0.006112, allocations: 11.92 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.006406, allocations: 311.7 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.006465, allocations: 39.05 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.006492, allocations: 27.64 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.006514, allocations: 0 / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.006532, allocations: 37.39 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.006533, allocations: 3.938 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004934/0.007026, allocations: 165.3 kB / 380.3 MB, free: 232 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.007053, allocations: 55.41 kB / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.00723, allocations: 274.8 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.00724, allocations: 29.7 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.007309, allocations: 174.8 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.007335, allocations: 27.86 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.007368, allocations: 27.38 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.007494, allocations: 0.504 MB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.007516, allocations: 7.984 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.007533, allocations: 8 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.007581, allocations: 43.83 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007582, allocations: 0 / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.984e-05/0.007672, allocations: 81.59 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.007682, allocations: 4 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.007688, allocations: 4 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.007703, allocations: 0 / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.007777, allocations: 15.98 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.007782, allocations: 0 / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.007805, allocations: 11.94 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.00781, allocations: 3.938 kB / 381.6 MB, free: 14.89 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 (8): * Single equations (assignments): 8 * 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.112e-05/0.007902, allocations: 160.5 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.007925, allocations: 19.91 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.00806, allocations: 95.11 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.008063, allocations: 4 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.008066, allocations: 0 / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.008069, allocations: 0 / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.008373, allocations: 389 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.008375, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.008419, allocations: 23.92 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008422, allocations: 0 / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.00843, allocations: 3.938 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.008433, allocations: 4.031 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.008435, allocations: 4 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.008568, allocations: 235.4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.008579, allocations: 7.953 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.008592, allocations: 7.984 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.008626, allocations: 8 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.008663, allocations: 11.88 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.008669, allocations: 3.984 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.008781, allocations: 192.1 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008781, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.008958, allocations: 19.98 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009602/0.009918, allocations: 440.3 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.01002, allocations: 43.61 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01002, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/0.01006, allocations: 31.67 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.01027, allocations: 19.94 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.01063, allocations: 271.1 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.01068, allocations: 75.33 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.01071, allocations: 17.03 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.01074, allocations: 16.5 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01074, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003131/0.01387, allocations: 1.403 MB / 385 MB, free: 11.46 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.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.4200544762425125]