Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001055/0.001055, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.00101/0.00101, allocations: 161 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.9902/0.9902, allocations: 177.1 MB / 205 MB, free: 5.633 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.2681/0.2681, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.137e-05, allocations: 6.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003602/0.003633, allocations: 1.736 MB / 377.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.004751, allocations: 0.5414 MB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.004813, allocations: 0 / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.005122, allocations: 75.7 kB / 378.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.005479, allocations: 103.5 kB / 378.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.005833, allocations: 131.5 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.006024, allocations: 95.73 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.006133, allocations: 8.234 kB / 378.7 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.006234, allocations: 51.88 kB / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.00636, allocations: 51.86 kB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.006379, allocations: 4 kB / 378.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.0065, allocations: 55.86 kB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.006587, allocations: 27.91 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.006623, allocations: 15.94 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.006859, allocations: 103.6 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.006863, allocations: 0 / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.006864, allocations: 0 / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.006871, allocations: 0 / 379 MB, free: 1.633 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005631/0.007434, allocations: 443.9 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.007476, allocations: 8.031 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.007536, allocations: 24.78 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.007848, allocations: 149.1 kB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.007862, allocations: 4.375 kB / 379.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.007892, allocations: 384 / 379.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.008064, allocations: 70.94 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.008076, allocations: 4.141 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.00809, allocations: 4.125 kB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.0081, allocations: 0 / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.008159, allocations: 23.92 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.008554, allocations: 295.7 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.008768, allocations: 59 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.0088, allocations: 15.81 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.008827, allocations: 4 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.008852, allocations: 37.39 kB / 380.1 MB, free: 392 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.008853, allocations: 3.938 kB / 380.1 MB, free: 388 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008689/0.009722, allocations: 257.5 kB / 380.4 MB, free: 124 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.009761, allocations: 51.41 kB / 380.4 MB, free: 60 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.01, allocations: 238.4 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.01002, allocations: 25.7 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.01011, allocations: 154.9 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.01015, allocations: 35.66 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.01021, allocations: 35.36 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.01037, allocations: 0.5 MB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.485e-05/0.01041, allocations: 12 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.01045, allocations: 15.98 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.932e-05/0.01055, allocations: 55.61 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.01055, allocations: 0 / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001698/0.01072, allocations: 89.58 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.01074, allocations: 4 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.01074, allocations: 0 / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.01076, allocations: 4 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01086, allocations: 19.98 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.01087, allocations: 0 / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.01091, allocations: 11.94 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.01092, allocations: 8 kB / 381.6 MB, free: 14.8 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 (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 9.346e-05/0.01101, allocations: 164.5 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.01105, allocations: 15.95 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.01128, allocations: 115.4 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01129, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.01129, allocations: 4 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01129, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.01179, allocations: 424.5 kB / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01179, allocations: 4.062 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.01188, allocations: 23.98 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.01188, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01189, allocations: 4 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.0119, allocations: 3.938 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.0119, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.01213, allocations: 267.1 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.01215, allocations: 11.95 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.01217, allocations: 7.984 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.01225, allocations: 7.938 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.0123, allocations: 16.17 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.01235, allocations: 8 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.01246, allocations: 167.2 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.01246, allocations: 0 / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.01276, allocations: 23.98 kB / 382.9 MB, free: 13.47 MB / 362.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.001654/0.01441, allocations: 438.2 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.0146, allocations: 59.53 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.0146, allocations: 0 / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.199e-05/0.01466, allocations: 43.61 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.01502, allocations: 27.94 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.01559, allocations: 265.1 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.633e-05/0.01564, allocations: 75.33 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.01571, allocations: 16.61 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.01576, allocations: 20.48 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.01576, allocations: 0 / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.004717/0.02048, allocations: 1.594 MB / 385.4 MB, free: 11.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.348876778036356]