Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.0009788/0.0009788, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009184/0.0009184, allocations: 161 kB / 24.56 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 0.9716/0.9716, allocations: 177.1 MB / 205 MB, free: 5.641 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.2521/0.2521, allocations: 32.8 MB / 294.3 MB, free: 1.223 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.Test24,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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.627e-05, allocations: 5.547 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.008342/0.008359, allocations: 1.646 MB / 377.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.009688, allocations: 1.27 MB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.009737, allocations: 3.938 kB / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.009942, allocations: 19.84 kB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.01328, allocations: 99.42 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.01356, allocations: 87.7 kB / 379.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.01371, allocations: 75.7 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.594e-05/0.0138, allocations: 7.984 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.01387, allocations: 31.92 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.01397, allocations: 27.89 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.01399, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.01415, allocations: 87.88 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.01419, allocations: 15.94 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.01422, allocations: 23.91 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.01445, allocations: 131.5 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01446, allocations: 4 kB / 379.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01446, allocations: 0 / 379.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.01446, allocations: 0 / 379.6 MB, free: 1.102 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.0004233/0.01488, allocations: 424 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.01492, allocations: 11.97 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.01497, allocations: 8.891 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.01513, allocations: 136.5 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.01514, allocations: 4.375 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.01516, allocations: 4.375 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.01529, allocations: 100 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.0153, allocations: 4.172 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.01531, allocations: 4.125 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.01532, allocations: 4 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.01535, allocations: 7.938 kB / 380.2 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.01561, allocations: 279.7 kB / 380.5 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.01576, allocations: 43.05 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.01579, allocations: 15.69 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.0158, allocations: 3.938 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.01582, allocations: 45.33 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.01583, allocations: 0 / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00334/0.01916, allocations: 101.5 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.0192, allocations: 77.11 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.01932, allocations: 189.9 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.01934, allocations: 33.7 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.01939, allocations: 134.9 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.01941, allocations: 23.8 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.01944, allocations: 23.38 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.01955, allocations: 0.4923 MB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.01957, allocations: 8 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.01961, allocations: 49.06 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.01965, allocations: 31.88 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01965, allocations: 3.938 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.357e-05/0.01973, allocations: 61.56 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.01975, allocations: 4 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01975, allocations: 0 / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01976, allocations: 0 / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.01981, allocations: 15.98 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.01981, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.01984, allocations: 3.984 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.01984, allocations: 8 kB / 381.9 MB, free: 14.54 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.348e-05/0.01991, allocations: 156.6 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.01994, allocations: 15.89 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.02005, allocations: 70.36 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.02005, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.02006, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02006, allocations: 3.984 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.02031, allocations: 321.4 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.02031, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.02035, allocations: 15.98 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.02035, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.02036, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.02036, allocations: 7.938 kB / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02036, allocations: 0 / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.02048, allocations: 212 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.02049, allocations: 7.953 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.0205, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.02055, allocations: 3.984 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.02058, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.02058, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.02065, allocations: 161.2 kB / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02065, allocations: 0 / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000261/0.02091, allocations: 35.88 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: 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.001081/0.02199, allocations: 485.8 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.836e-05/0.02209, allocations: 31.61 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02209, allocations: 4 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.02212, allocations: 27.8 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.0002517/0.02237, allocations: 18.44 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.02267, allocations: 173.9 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.02271, allocations: 55.36 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.02275, allocations: 15.97 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.02279, allocations: 20.48 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02279, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003865/0.02665, allocations: 2.001 MB / 385.7 MB, free: 10.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.0409149331972003]