Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.001126/0.001126, 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.001459/0.001459, 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 1.068/1.068, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1571/0.1571, allocations: 32.37 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.696e-05, allocations: 6.25 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002095/0.002122, allocations: 1.719 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000876/0.002998, allocations: 0.792 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.003063, allocations: 0 / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.003328, allocations: 107.6 kB / 350.8 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.003523, allocations: 91.64 kB / 350.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.003719, allocations: 83.64 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.003848, allocations: 131.6 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.003914, allocations: 4.234 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.003994, allocations: 67.86 kB / 351.2 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.004071, allocations: 59.86 kB / 351.3 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.004086, allocations: 4 kB / 351.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.627e-05/0.004152, allocations: 43.92 kB / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.00419, allocations: 35.84 kB / 351.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.004219, allocations: 19.92 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.004348, allocations: 119.5 kB / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.00435, allocations: 0 / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.00435, allocations: 4 kB / 351.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.004354, allocations: 0 / 351.5 MB, free: 5.801 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002818/0.004636, allocations: 471.7 kB / 351.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.004663, allocations: 8.031 kB / 351.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.004688, allocations: 16.84 kB / 352 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.475e-05/0.004783, allocations: 172 kB / 352.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.004794, allocations: 4.375 kB / 352.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.004807, allocations: 4.375 kB / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.075e-05/0.004888, allocations: 70.91 kB / 352.2 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.004895, allocations: 3.938 kB / 352.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.004919, allocations: 4 kB / 352.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.004923, allocations: 0 / 352.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.004955, allocations: 15.98 kB / 352.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.005136, allocations: 268.4 kB / 352.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.005206, allocations: 59.11 kB / 352.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.005224, allocations: 19.67 kB / 352.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.005237, allocations: 0 / 352.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.837e-05/0.005305, allocations: 76.97 kB / 352.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 6.81e-07/0.005306, allocations: 0 / 352.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002486/0.005554, allocations: 169.5 kB / 352.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.539e-05/0.00557, allocations: 51.41 kB / 352.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.005667, allocations: 265.5 kB / 353.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.005674, allocations: 25.7 kB / 353.1 MB, free: 3.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.005717, allocations: 162.8 kB / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.005741, allocations: 27.73 kB / 353.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.005773, allocations: 35.34 kB / 353.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.005842, allocations: 0.504 MB / 353.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.005864, allocations: 11.98 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.00589, allocations: 31.38 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.005938, allocations: 55.3 kB / 354 MB, free: 3.098 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005939, allocations: 0 / 354 MB, free: 3.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.618e-05/0.006025, allocations: 105.5 kB / 354.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006036, allocations: 4 kB / 354.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006041, allocations: 4 kB / 354.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.006051, allocations: 3.938 kB / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.006106, allocations: 19.98 kB / 354.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006109, allocations: 0 / 354.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.006133, allocations: 0 / 354.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.006138, allocations: 8.031 kB / 354.1 MB, free: 2.949 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 (11): * Single equations (assignments): 11 * 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.384e-05/0.006192, allocations: 164.5 kB / 354.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.006207, allocations: 19.84 kB / 354.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.006334, allocations: 115.1 kB / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006337, allocations: 0 / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.006339, allocations: 0 / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.006344, allocations: 0 / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.006578, allocations: 393.5 kB / 354.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.00658, allocations: 0 / 354.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.00661, allocations: 15.98 kB / 354.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006612, allocations: 4.031 kB / 354.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.006619, allocations: 4 kB / 354.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.006621, allocations: 3.938 kB / 354.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006622, allocations: 0 / 354.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.006736, allocations: 275.3 kB / 355.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.006747, allocations: 15.89 kB / 355.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.006763, allocations: 4 kB / 355.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.006799, allocations: 0 / 355.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.006822, allocations: 11.98 kB / 355.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.006832, allocations: 4 kB / 355.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.006882, allocations: 186.9 kB / 355.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006882, allocations: 0 / 355.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.00704, allocations: 27.94 kB / 355.3 MB, free: 1.648 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 (11): * Single equations (assignments): 9 * 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.0007997/0.00784, allocations: 440.8 kB / 355.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.007922, allocations: 51.61 kB / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.007924, allocations: 0 / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.007957, allocations: 47.53 kB / 355.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.008161, allocations: 36.05 kB / 355.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.008445, allocations: 265.5 kB / 356.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.982e-05/0.008475, allocations: 71.33 kB / 356.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.208e-05/0.008507, allocations: 12.97 kB / 356.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.008561, allocations: 94.19 kB / 356.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008562, allocations: 0 / 356.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of Templates: time 0.003851/0.01241, allocations: 2.164 MB / 358.5 MB, free: 14.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.3633248191326857]