Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.001137/0.001137, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001121/0.001121, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.872/0.872, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.167/0.167, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.711e-06, allocations: 4 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.853e-05, allocations: 6.25 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002925/0.002963, allocations: 1.732 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004204, allocations: 0.792 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.004292, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.004676, allocations: 91.62 kB / 350.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.004988, allocations: 83.64 kB / 350.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.00527, allocations: 91.69 kB / 350.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.00546, allocations: 107.7 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.005561, allocations: 12.17 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.005667, allocations: 63.8 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.005774, allocations: 55.88 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.005794, allocations: 4 kB / 350.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.005894, allocations: 43.92 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.005955, allocations: 31.84 kB / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.005999, allocations: 19.92 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.006212, allocations: 99.59 kB / 351 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006215, allocations: 4 kB / 351 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.006216, allocations: 4 kB / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.006221, allocations: 0 / 351 MB, free: 6.117 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.0004761/0.006697, allocations: 459.8 kB / 351.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.006741, allocations: 8.031 kB / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.006805, allocations: 16.84 kB / 351.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.00699, allocations: 148.4 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.007012, allocations: 384 / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.00704, allocations: 8.375 kB / 351.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.00718, allocations: 66.88 kB / 351.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.007191, allocations: 7.938 kB / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.007202, allocations: 3.984 kB / 351.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.00721, allocations: 0 / 351.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.00725, allocations: 8 kB / 351.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.007549, allocations: 291.7 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.007664, allocations: 63.09 kB / 352 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.007696, allocations: 15.62 kB / 352.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.007713, allocations: 4 kB / 352.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.994e-05/0.007813, allocations: 65.05 kB / 352.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.007814, allocations: 4 kB / 352.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004354/0.00825, allocations: 157.5 kB / 352.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.008273, allocations: 55.39 kB / 352.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.008408, allocations: 241.9 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.00842, allocations: 33.7 kB / 352.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.008464, allocations: 150.9 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.008492, allocations: 31.78 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.00853, allocations: 27.38 kB / 352.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.008582, allocations: 0.5001 MB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.008611, allocations: 16.12 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.00865, allocations: 39.36 kB / 353.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.506e-05/0.008716, allocations: 51.31 kB / 353.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008717, allocations: 4 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001336/0.008851, allocations: 97.5 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.008864, allocations: 4 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008869, allocations: 0 / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.008887, allocations: 0 / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.008977, allocations: 19.94 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.008983, allocations: 0 / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.009023, allocations: 12.02 kB / 353.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.00903, allocations: 4 kB / 353.5 MB, free: 3.32 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.859e-05/0.009089, allocations: 168.5 kB / 353.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.00911, allocations: 15.91 kB / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.00928, allocations: 111.2 kB / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.009282, allocations: 0 / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.009287, allocations: 0 / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.009291, allocations: 0 / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.009586, allocations: 397 kB / 354.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009588, allocations: 4.031 kB / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.009623, allocations: 11.98 kB / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.009626, allocations: 0 / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.009635, allocations: 4 kB / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009637, allocations: 0 / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009638, allocations: 0 / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.009772, allocations: 259.4 kB / 354.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.009786, allocations: 11.91 kB / 354.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.009807, allocations: 11.98 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.009867, allocations: 0 / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.009906, allocations: 11.98 kB / 354.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.009921, allocations: 8 kB / 354.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.296e-05/0.009994, allocations: 179.1 kB / 354.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009994, allocations: 0 / 354.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.01025, allocations: 27.92 kB / 354.7 MB, free: 2.035 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.001108/0.01136, allocations: 440.5 kB / 355.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.0115, allocations: 55.55 kB / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.0115, allocations: 0 / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.01155, allocations: 43.66 kB / 355.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.0119, allocations: 24.28 kB / 355.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.01224, allocations: 237.4 kB / 355.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.01227, allocations: 75.27 kB / 355.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.928e-05/0.0123, allocations: 16.47 kB / 355.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.01233, allocations: 20.5 kB / 355.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01234, allocations: 0 / 355.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of Templates: time 0.003447/0.01578, allocations: 1.855 MB / 357.5 MB, free: 15.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.3577037886716425]