Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001387/0.001387, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001002/0.001002, allocations: 165 kB / 24.56 MB, free: 12 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.9909/0.9909, allocations: 177.1 MB / 205 MB, free: 5.621 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.2614/0.2614, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.177e-05, allocations: 6.25 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002317/0.002349, allocations: 1.646 MB / 377.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003551, allocations: 1.278 MB / 379 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.003606, allocations: 4 kB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.003824, allocations: 23.8 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.004117, allocations: 95.48 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.004331, allocations: 107.7 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.004476, allocations: 71.7 kB / 379.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.004572, allocations: 19.92 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.00463, allocations: 27.92 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.00472, allocations: 27.89 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.004735, allocations: 4 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.004859, allocations: 91.88 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.004902, allocations: 15.94 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.00493, allocations: 15.92 kB / 379.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.005129, allocations: 131.5 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.005132, allocations: 0 / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005133, allocations: 4 kB / 379.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005138, allocations: 0 / 379.6 MB, free: 1.078 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004255/0.005564, allocations: 428 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.005598, allocations: 8.031 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.005644, allocations: 12.89 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.005792, allocations: 139.7 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.005801, allocations: 4.375 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.005829, allocations: 8.312 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.005968, allocations: 100 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.005977, allocations: 192 / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005988, allocations: 4.125 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.005996, allocations: 4 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.006025, allocations: 8 kB / 380.3 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.00632, allocations: 279.8 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.006485, allocations: 43 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.006509, allocations: 15.77 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.006529, allocations: 7.938 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.006553, allocations: 41.38 kB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.006554, allocations: 0 / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003275/0.006882, allocations: 97.41 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.00692, allocations: 81.11 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.007038, allocations: 197.9 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.007048, allocations: 25.7 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.007098, allocations: 142.9 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.007117, allocations: 19.84 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.007146, allocations: 23.38 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.007255, allocations: 0.4962 MB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.00727, allocations: 4 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.007303, allocations: 53.02 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.007346, allocations: 27.86 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.007349, allocations: 4 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.138e-05/0.007421, allocations: 57.64 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.007434, allocations: 6.188 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.00744, allocations: 3.984 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.007455, allocations: 0 / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.007498, allocations: 15.94 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007503, allocations: 7.969 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.007524, allocations: 3.953 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.00753, allocations: 4 kB / 381.9 MB, free: 14.5 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.504e-05/0.007595, allocations: 156.6 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.007616, allocations: 15.89 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.007725, allocations: 66.09 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007727, allocations: 3.984 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.007731, allocations: 0 / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.007734, allocations: 0 / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.007958, allocations: 325.3 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007959, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.007988, allocations: 8 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.00799, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.007997, allocations: 4 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007998, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007999, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.008104, allocations: 212 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.008115, allocations: 15.94 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.008129, allocations: 4 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.008163, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.008195, allocations: 7.984 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.008198, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.008269, allocations: 147.2 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008269, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.008455, allocations: 43.86 kB / 382.9 MB, free: 13.43 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.001097/0.009551, allocations: 482.6 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.009665, allocations: 27.69 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.009666, allocations: 3.938 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.009689, allocations: 19.67 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.0099, allocations: 30.98 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.01022, allocations: 169.9 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.01027, allocations: 67.34 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.098e-05/0.01032, allocations: 19.97 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.01036, allocations: 20.48 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01036, allocations: 0 / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Templates: time 0.003491/0.01385, allocations: 1.833 MB / 385.6 MB, free: 10.9 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.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.2402537842281163]