Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001129/0.001129, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001485/0.001485, allocations: 165.3 kB / 23.8 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.903/0.903, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1467/0.1467, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.794e-05, allocations: 6.25 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003195/0.003223, allocations: 1.936 MB / 349.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004503, allocations: 0.8349 MB / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.004634, allocations: 4 kB / 350.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.005021, allocations: 47.59 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.005315, allocations: 59.67 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.005632, allocations: 111.6 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.005863, allocations: 139.5 kB / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.005988, allocations: 21.61 kB / 350.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.006111, allocations: 75.75 kB / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.862e-05/0.00621, allocations: 35.89 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.006235, allocations: 8 kB / 351 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.006335, allocations: 43.98 kB / 351.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.006393, allocations: 31.84 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.00645, allocations: 23.92 kB / 351.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.006699, allocations: 131.4 kB / 351.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006703, allocations: 0 / 351.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006704, allocations: 0 / 351.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.00671, allocations: 4 kB / 351.2 MB, free: 5.844 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005785/0.007288, allocations: 0.4935 MB / 351.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.007329, allocations: 8.031 kB / 351.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.007398, allocations: 24.84 kB / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.007606, allocations: 172.2 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.007628, allocations: 4.375 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.007654, allocations: 8.375 kB / 352 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.007883, allocations: 139.7 kB / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.007893, allocations: 7.938 kB / 352.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.007907, allocations: 4 kB / 352.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.007917, allocations: 7.938 kB / 352.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.007984, allocations: 19.98 kB / 352.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.008476, allocations: 0.5795 MB / 352.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.008722, allocations: 71.14 kB / 352.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.008767, allocations: 27.67 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.008781, allocations: 4 kB / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.008918, allocations: 110.7 kB / 352.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.555e-06/0.008921, allocations: 0 / 352.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002574/0.009178, allocations: 105.5 kB / 353 MB, free: 3.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.009204, allocations: 55.41 kB / 353.1 MB, free: 3.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.00934, allocations: 234.7 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.009354, allocations: 25.7 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.00941, allocations: 170.8 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.009433, allocations: 27.75 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.00948, allocations: 35.36 kB / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.009531, allocations: 0.5039 MB / 354.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/0.009569, allocations: 19.98 kB / 354.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.00962, allocations: 65.11 kB / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.712e-05/0.009717, allocations: 82.75 kB / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.009719, allocations: 0 / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001679/0.009887, allocations: 117.5 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.009902, allocations: 8 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009907, allocations: 0 / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.009924, allocations: 4 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.01001, allocations: 23.92 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01002, allocations: 4 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.01007, allocations: 11.94 kB / 354.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.01008, allocations: 4 kB / 354.4 MB, free: 2.406 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.662e-05/0.01014, allocations: 168.5 kB / 354.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.01017, allocations: 15.91 kB / 354.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.01035, allocations: 115.1 kB / 354.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01035, allocations: 4 kB / 354.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01036, allocations: 4 kB / 354.7 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01036, allocations: 0 / 354.7 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.01047, allocations: 160.5 kB / 354.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01047, allocations: 0 / 354.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.01054, allocations: 15.94 kB / 354.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01054, allocations: 0 / 354.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01056, allocations: 8 kB / 354.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01056, allocations: 0 / 354.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01056, allocations: 3.984 kB / 354.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.01076, allocations: 164.2 kB / 355 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.01078, allocations: 7.953 kB / 355 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.01081, allocations: 7.984 kB / 355.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.01085, allocations: 4 kB / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.01089, allocations: 7.984 kB / 355.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.0109, allocations: 0 / 355.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.01098, allocations: 177 kB / 355.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01098, allocations: 4 kB / 355.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.01124, allocations: 35.83 kB / 355.3 MB, free: 1.441 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001073/0.01231, allocations: 373.6 kB / 355.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.01247, allocations: 67.53 kB / 355.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01247, allocations: 4.25 kB / 355.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.341e-05/0.01253, allocations: 35.8 kB / 355.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01282, allocations: 47.83 kB / 355.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.0133, allocations: 256.1 kB / 356 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.01333, allocations: 71.83 kB / 356.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.01339, allocations: 21.12 kB / 356.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.01343, allocations: 16.5 kB / 356.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01344, allocations: 0 / 356.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of Templates: time 0.005332/0.01877, allocations: 2.197 MB / 358.3 MB, free: 14.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.4128788080997765]