Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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.001064/0.001064, 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.0009764/0.0009764, 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.9573/0.9573, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1327/0.1327, 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.953e-05, allocations: 6.25 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.005646/0.005676, allocations: 1.748 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.006734, allocations: 0.792 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.006811, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.007141, allocations: 43.77 kB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.007393, allocations: 59.69 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.007692, allocations: 87.69 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.007866, allocations: 95.7 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.00797, allocations: 4.234 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.008066, allocations: 59.75 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.008142, allocations: 23.92 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.008162, allocations: 4 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.00826, allocations: 47.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.008319, allocations: 15.92 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.008367, allocations: 15.94 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.00857, allocations: 107.5 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.008574, allocations: 4 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.008575, allocations: 0 / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.00858, allocations: 0 / 350.8 MB, free: 6.258 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.0004464/0.009026, allocations: 439.9 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.009064, allocations: 8.031 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.009116, allocations: 12.89 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.009287, allocations: 148.4 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.009312, allocations: 4.375 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.009342, allocations: 8.328 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.009487, allocations: 58.94 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.009498, allocations: 11.88 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.00951, allocations: 4 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.00952, allocations: 0 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.009557, allocations: 11.98 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.009849, allocations: 279.8 kB / 351.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.009962, allocations: 51.11 kB / 351.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.009995, allocations: 27.61 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.01001, allocations: 0 / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.01011, allocations: 65.05 kB / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.01012, allocations: 8 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.003515/0.01363, allocations: 149.3 kB / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.01366, allocations: 55.41 kB / 352.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.01377, allocations: 228 kB / 352.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.01378, allocations: 29.7 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.01382, allocations: 142.9 kB / 352.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.01385, allocations: 35.72 kB / 352.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.01389, allocations: 27.38 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.257e-05/0.01394, allocations: 0.4962 MB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.01397, allocations: 11.98 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.01401, allocations: 43.69 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.994e-05/0.01407, allocations: 47.31 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01407, allocations: 0 / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001328/0.0142, allocations: 93.58 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.01422, allocations: 4 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01423, allocations: 4 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.01424, allocations: 3.984 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.01433, allocations: 12 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01434, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.01438, allocations: 8.031 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.01438, allocations: 4 kB / 353.3 MB, free: 3.543 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.806e-05/0.01444, allocations: 168.4 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.01446, allocations: 15.91 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.01463, allocations: 110.5 kB / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01463, allocations: 0 / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.01463, allocations: 0 / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01464, allocations: 3.984 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.01492, allocations: 389 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01492, allocations: 4.031 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.01495, allocations: 8 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01496, allocations: 4 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.01496, allocations: 4 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01497, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01497, allocations: 7.984 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.0151, allocations: 263.4 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.01512, allocations: 3.953 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.01514, allocations: 8 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.0152, allocations: 0 / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.01523, allocations: 11.98 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.01525, allocations: 7.938 kB / 354.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.167e-05/0.01531, allocations: 168 kB / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01531, allocations: 0 / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.01557, allocations: 27.92 kB / 354.5 MB, free: 2.277 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.004071/0.01964, allocations: 436.6 kB / 354.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.01979, allocations: 51.61 kB / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01979, allocations: 0 / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.01984, allocations: 43.66 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.02018, allocations: 27.88 kB / 355.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.02056, allocations: 221.7 kB / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.02059, allocations: 63.34 kB / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.02063, allocations: 16.47 kB / 355.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.02067, allocations: 24.44 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02067, allocations: 0 / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.007232/0.0279, allocations: 1.84 MB / 357.2 MB, free: 15.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/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.313173953909427]