Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.00111/0.00111, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001921/0.001921, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 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.9591/0.9591, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2477/0.2477, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.042e-05, allocations: 3.188 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003423/0.003453, allocations: 1.643 MB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.005263, allocations: 1.286 MB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.005325, allocations: 8 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.005569, allocations: 15.86 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.005892, allocations: 91.48 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.006149, allocations: 95.62 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.006299, allocations: 67.77 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.006391, allocations: 7.984 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.157e-05/0.006463, allocations: 39.91 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.006585, allocations: 23.91 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.006604, allocations: 4 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.006757, allocations: 95.81 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.006803, allocations: 11.92 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.006833, allocations: 12 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.007061, allocations: 135.5 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.007064, allocations: 0 / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007065, allocations: 0 / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.007069, allocations: 0 / 328.8 MB, free: 4.125 MB / 298.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.0004126/0.007482, allocations: 302.2 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.00752, allocations: 12.02 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.007554, allocations: 4.938 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.007721, allocations: 136.4 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.007731, allocations: 4.375 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.007753, allocations: 4.312 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.007894, allocations: 94.36 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.007905, allocations: 4.188 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.007914, allocations: 4.125 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.00792, allocations: 3.938 kB / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.007943, allocations: 4 kB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.008164, allocations: 159.1 kB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.008308, allocations: 38.62 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.008327, allocations: 16.94 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.008344, allocations: 0 / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.008367, allocations: 34.5 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.008368, allocations: 0 / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003036/0.008672, allocations: 93.73 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.008714, allocations: 77.11 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.008835, allocations: 144.3 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.008846, allocations: 25.7 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.008884, allocations: 92.08 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.008904, allocations: 19.83 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.00894, allocations: 21.72 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.009038, allocations: 322.8 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.009051, allocations: 0 / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.009089, allocations: 47.41 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.009123, allocations: 21.03 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.009124, allocations: 0 / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.666e-05/0.009201, allocations: 57.56 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.009213, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.009218, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.009231, allocations: 7.984 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/0.009284, allocations: 12.03 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.009287, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.009312, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.009318, allocations: 4 kB / 330.5 MB, free: 2.203 MB / 298.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.391e-05/0.009382, allocations: 112.7 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.009409, allocations: 11.94 kB / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.009515, allocations: 58.08 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009518, allocations: 7.938 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.009519, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.009522, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.009769, allocations: 206.8 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.009771, allocations: 3.938 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.009817, allocations: 19.92 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.009819, allocations: 0 / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.009825, allocations: 4 kB / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.009826, allocations: 192 / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009827, allocations: 0 / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.01024, allocations: 143.5 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.01026, allocations: 15.88 kB / 331.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.01027, allocations: 4 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.427e-05/0.01033, allocations: 0 / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.01035, allocations: 8 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.01036, allocations: 0 / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.0104, allocations: 38.45 kB / 331.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0104, allocations: 0 / 331.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.01065, allocations: 35.88 kB / 331.2 MB, free: 1.488 MB / 298.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.001755/0.01241, allocations: 0.6291 MB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.493e-05/0.01249, allocations: 24.84 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.0125, allocations: 0 / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.01252, allocations: 20.84 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.01272, allocations: 23.92 kB / 331.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.01306, allocations: 162.5 kB / 332 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.088e-05/0.0131, allocations: 62.59 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.01315, allocations: 15.97 kB / 332.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.01322, allocations: 63.36 kB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01322, allocations: 0 / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of Templates: time 0.00457/0.01779, allocations: 1.992 MB / 334.2 MB, free: 14.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.053715684916824]