Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.00111/0.00111, 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.001297/0.001297, allocations: 161 kB / 24.55 MB, free: 16 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 1.049/1.049, allocations: 177.1 MB / 205 MB, free: 5.242 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.25/0.25, allocations: 32.81 MB / 294.3 MB, free: 1.172 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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,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.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.162e-05, allocations: 9.484 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002278/0.0023, allocations: 1.72 MB / 377.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007845/0.003084, allocations: 0.5452 MB / 378.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.00314, allocations: 0 / 378.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.003389, allocations: 55.8 kB / 378.4 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.003683, allocations: 95.42 kB / 378.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.004025, allocations: 131.6 kB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.0042, allocations: 87.69 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.004298, allocations: 12.22 kB / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.889e-05/0.004377, allocations: 51.89 kB / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.004472, allocations: 39.89 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.004489, allocations: 4 kB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.004599, allocations: 51.91 kB / 378.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.004667, allocations: 19.92 kB / 378.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.004693, allocations: 11.94 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.005256, allocations: 95.59 kB / 378.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005258, allocations: 3.938 kB / 379 MB, free: 1.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005259, allocations: 0 / 379 MB, free: 1.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005263, allocations: 4 kB / 379 MB, free: 1.688 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.000454/0.005717, allocations: 440 kB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.005756, allocations: 8.031 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.005813, allocations: 20.84 kB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.005967, allocations: 141.5 kB / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.005979, allocations: 4.375 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.006007, allocations: 8.359 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.006141, allocations: 66.69 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.006151, allocations: 0 / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006162, allocations: 4 kB / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.006172, allocations: 4 kB / 379.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.006216, allocations: 15.92 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.006538, allocations: 295.7 kB / 379.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.006715, allocations: 47.14 kB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.006747, allocations: 23.75 kB / 380 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.006777, allocations: 0 / 380 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.006801, allocations: 37.39 kB / 380 MB, free: 476 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.006802, allocations: 0 / 380 MB, free: 476 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006713/0.007474, allocations: 249.6 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.007502, allocations: 51.41 kB / 380.3 MB, free: 156 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.00766, allocations: 220.3 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.007673, allocations: 25.7 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.007746, allocations: 154.8 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.007781, allocations: 39.62 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.007827, allocations: 31.38 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.00795, allocations: 0.4923 MB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.593e-05/0.007986, allocations: 15.98 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.008016, allocations: 16 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/0.008093, allocations: 47.67 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.008094, allocations: 0 / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001326/0.008226, allocations: 93.53 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.008239, allocations: 4 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008243, allocations: 0 / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.008261, allocations: 4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.00834, allocations: 23.92 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.008345, allocations: 0 / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.008382, allocations: 15.92 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.008391, allocations: 8 kB / 381.5 MB, free: 14.92 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 7.518e-05/0.008466, allocations: 160.6 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.008499, allocations: 7.953 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.008686, allocations: 118.7 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.008688, allocations: 0 / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.008692, allocations: 0 / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.008697, allocations: 7.922 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.009086, allocations: 408.6 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009088, allocations: 0 / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.009154, allocations: 24.05 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.009159, allocations: 4 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.009169, allocations: 7.938 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009172, allocations: 4 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.009174, allocations: 192 / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.009353, allocations: 263.2 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.009367, allocations: 15.91 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.009383, allocations: 3.938 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.009448, allocations: 11.98 kB / 382.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.009488, allocations: 7.984 kB / 382.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.009495, allocations: 8 kB / 382.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.394e-05/0.009579, allocations: 165.9 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009579, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.00984, allocations: 23.94 kB / 382.7 MB, free: 13.61 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.001054/0.01089, allocations: 431.8 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.01104, allocations: 55.59 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.01104, allocations: 0 / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.0111, allocations: 43.61 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.01139, allocations: 23.98 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.01181, allocations: 252 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.01186, allocations: 67.33 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.899e-05/0.01191, allocations: 24.59 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.01195, allocations: 16.5 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01195, allocations: 3.938 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003818/0.01577, allocations: 1.589 MB / 385.2 MB, free: 11.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.3096412951126695]