Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001336/0.001336, allocations: 79.75 kB / 21.19 MB, free: 3.375 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.001312/0.001312, allocations: 165 kB / 24.56 MB, free: 8 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.9987/0.9987, 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.2788/0.2788, allocations: 32.81 MB / 294.3 MB, free: 1.211 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 3.938 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.723e-05/3.968e-05, allocations: 2.312 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003742/0.003781, allocations: 1.657 MB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.004965, allocations: 0.5415 MB / 378.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.005054, allocations: 4 kB / 378.2 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.005467, allocations: 79.64 kB / 378.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.00587, allocations: 103.5 kB / 378.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.006254, allocations: 111.6 kB / 378.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.006508, allocations: 91.69 kB / 378.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.006621, allocations: 7.984 kB / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.006695, allocations: 47.89 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.006801, allocations: 59.88 kB / 378.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.006817, allocations: 0 / 378.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.811e-05/0.006905, allocations: 43.92 kB / 378.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.006963, allocations: 27.91 kB / 378.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.006994, allocations: 11.94 kB / 378.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.007177, allocations: 99.53 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.007181, allocations: 0 / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007183, allocations: 0 / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.007188, allocations: 0 / 378.9 MB, free: 1.73 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.0004589/0.007647, allocations: 435.9 kB / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.007688, allocations: 12.03 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.007739, allocations: 16.84 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.007891, allocations: 153.1 kB / 379.5 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.007904, allocations: 4.375 kB / 379.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.007934, allocations: 4.375 kB / 379.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.008063, allocations: 62.88 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.008073, allocations: 192 / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.008085, allocations: 4.125 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.008093, allocations: 4 kB / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.008127, allocations: 4 kB / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.008468, allocations: 295.7 kB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.307e-05/0.008541, allocations: 54.97 kB / 379.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.008567, allocations: 19.56 kB / 380 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.008592, allocations: 4.078 kB / 380 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.008616, allocations: 37.39 kB / 380 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.008617, allocations: 0 / 380 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006213/0.009238, allocations: 169.3 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.009273, allocations: 51.41 kB / 380.2 MB, free: 280 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.009419, allocations: 238.4 kB / 380.4 MB, free: 24 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.009445, allocations: 33.7 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.009507, allocations: 150.9 kB / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.009535, allocations: 31.73 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.009568, allocations: 27.38 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.00969, allocations: 0.4961 MB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.73e-05/0.009718, allocations: 15.92 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.009738, allocations: 8 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/0.009791, allocations: 39.89 kB / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.009793, allocations: 0 / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.887e-05/0.009891, allocations: 81.58 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.009906, allocations: 8 kB / 381.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.009912, allocations: 0 / 381.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.009933, allocations: 4 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.01003, allocations: 19.92 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01004, allocations: 0 / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.01006, allocations: 4 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01006, allocations: 0 / 381.4 MB, free: 15.07 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 8.435e-05/0.01015, allocations: 164.5 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.01017, allocations: 11.91 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.01036, allocations: 95.12 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01036, allocations: 4 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01037, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01037, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.01075, allocations: 380.9 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.01075, allocations: 11.92 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.01081, allocations: 12 kB / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01081, allocations: 0 / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01082, allocations: 0 / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.01083, allocations: 4 kB / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01083, allocations: 0 / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.01098, allocations: 251.4 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.011, allocations: 7.953 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.01101, allocations: 0 / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.01104, allocations: 4 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.01109, allocations: 15.92 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.01109, allocations: 0 / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.125e-05/0.01118, allocations: 167.2 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01118, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.01137, allocations: 23.98 kB / 382.5 MB, free: 13.86 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.001121/0.01249, allocations: 439.6 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.01264, allocations: 43.61 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.01264, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.01268, allocations: 31.66 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.01297, allocations: 31.45 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.01353, allocations: 237.8 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.41e-05/0.01358, allocations: 71.33 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.01363, allocations: 21.08 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.01367, allocations: 16.5 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.01368, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of Templates: time 0.004323/0.018, allocations: 1.396 MB / 384.8 MB, free: 11.7 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.388238915707916]