Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001457/0.001457, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001797/0.001797, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9341/0.9341, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1318/0.1318, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.569e-05, allocations: 9.344 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002277/0.002303, allocations: 1.718 MB / 349.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.003161, allocations: 0.792 MB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.558e-05/0.003247, allocations: 0 / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.003572, allocations: 39.77 kB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.003791, allocations: 59.69 kB / 350.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.003994, allocations: 95.62 kB / 350.9 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.004132, allocations: 91.7 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/0.00422, allocations: 8.219 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.782e-05/0.004297, allocations: 59.83 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.004364, allocations: 15.92 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.004378, allocations: 4 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.917e-05/0.004447, allocations: 47.91 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.004487, allocations: 27.86 kB / 351.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.004519, allocations: 15.94 kB / 351.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.00466, allocations: 103.6 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004662, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004664, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004668, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003224/0.00499, allocations: 443.8 kB / 351.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.005026, allocations: 16.03 kB / 351.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.005058, allocations: 20.78 kB / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.005171, allocations: 149.8 kB / 351.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.005186, allocations: 4.375 kB / 351.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.0052, allocations: 4.359 kB / 351.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.21e-05/0.005292, allocations: 66.88 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005301, allocations: 3.938 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.005308, allocations: 0 / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.005315, allocations: 0 / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.005338, allocations: 11.98 kB / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.005536, allocations: 268.4 kB / 352.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/0.005612, allocations: 51.11 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.005631, allocations: 19.69 kB / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.005646, allocations: 0 / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.355e-05/0.005719, allocations: 64.98 kB / 352.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.00572, allocations: 0 / 352.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003/0.00602, allocations: 137.5 kB / 352.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.752e-05/0.006038, allocations: 51.41 kB / 352.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.006116, allocations: 231.9 kB / 352.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.006124, allocations: 29.7 kB / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.006156, allocations: 150.8 kB / 353 MB, free: 4.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.006177, allocations: 35.77 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.006205, allocations: 27.38 kB / 353 MB, free: 4.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.006248, allocations: 0.4962 MB / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.006264, allocations: 11.98 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.006286, allocations: 31.3 kB / 353.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.006323, allocations: 47.36 kB / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006324, allocations: 0 / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.746e-05/0.006402, allocations: 89.55 kB / 353.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.006414, allocations: 8 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006418, allocations: 80 / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.00643, allocations: 0 / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.006487, allocations: 15.98 kB / 353.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.006491, allocations: 7.984 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.006519, allocations: 4 kB / 353.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.006524, allocations: 4 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.081e-05/0.006575, allocations: 172.4 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.006589, allocations: 19.92 kB / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.006701, allocations: 95.08 kB / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006703, allocations: 4 kB / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.006706, allocations: 3.984 kB / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006709, allocations: 0 / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.006901, allocations: 357.6 kB / 354.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006902, allocations: 0 / 354.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.006925, allocations: 12 kB / 354.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006927, allocations: 384 / 354.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.006934, allocations: 7.984 kB / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.006936, allocations: 12.03 kB / 354.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006937, allocations: 0 / 354.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.349e-05/0.007031, allocations: 251.4 kB / 354.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.00704, allocations: 11.91 kB / 354.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.007054, allocations: 4 kB / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.007092, allocations: 4 kB / 354.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.007115, allocations: 7.984 kB / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.007126, allocations: 4 kB / 354.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.886e-05/0.007165, allocations: 163.8 kB / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007165, allocations: 0 / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001568/0.007322, allocations: 31.94 kB / 354.9 MB, free: 2.109 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009083/0.00823, allocations: 430.6 kB / 355.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.008335, allocations: 51.59 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.008338, allocations: 0 / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.008371, allocations: 35.75 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.008593, allocations: 39.97 kB / 355.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.008869, allocations: 213.2 kB / 355.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.008899, allocations: 71.33 kB / 355.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.104e-05/0.00893, allocations: 24.34 kB / 355.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.008995, allocations: 90.19 kB / 355.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008996, allocations: 0 / 355.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of Templates: time 0.003303/0.0123, allocations: 2.012 MB / 357.8 MB, free: 15.22 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.1912890658713877]