Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001269/0.001269, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001546/0.001546, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9622/0.9622, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1721/0.1721, allocations: 34.26 MB / 296.1 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 325.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.164e-05, allocations: 2.312 kB / 325.3 MB, free: 0.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003349/0.00337, allocations: 1.957 MB / 327.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.005137, allocations: 1.044 MB / 328.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.005246, allocations: 11.94 kB / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.005553, allocations: 35.72 kB / 328.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.005893, allocations: 103.4 kB / 328.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.006135, allocations: 99.52 kB / 328.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.00636, allocations: 159.5 kB / 328.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.006471, allocations: 18.45 kB / 328.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.006607, allocations: 75.8 kB / 328.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.006711, allocations: 39.83 kB / 328.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.006734, allocations: 8 kB / 328.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.006835, allocations: 51.86 kB / 328.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.006893, allocations: 27.91 kB / 328.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.006946, allocations: 31.86 kB / 329 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.007173, allocations: 127.5 kB / 329.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.007174, allocations: 0 / 329.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007175, allocations: 0 / 329.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.007179, allocations: 0 / 329.1 MB, free: 12.91 MB / 314.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.000496/0.007675, allocations: 385.6 kB / 329.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.007709, allocations: 12.03 kB / 329.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.007752, allocations: 16.92 kB / 329.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.007962, allocations: 162.3 kB / 329.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.007982, allocations: 8.375 kB / 329.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.008007, allocations: 8.312 kB / 329.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.008201, allocations: 137.9 kB / 329.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.008212, allocations: 7.938 kB / 329.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.008225, allocations: 8 kB / 329.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.008231, allocations: 0 / 329.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.008287, allocations: 30.75 kB / 329.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.008713, allocations: 370.1 kB / 330.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.00891, allocations: 109.2 kB / 330.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.008943, allocations: 16.84 kB / 330.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.008954, allocations: 0 / 330.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.009076, allocations: 95.91 kB / 330.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.009077, allocations: 0 / 330.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001652/0.009242, allocations: 77.55 kB / 330.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.009284, allocations: 59.39 kB / 330.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.009443, allocations: 193.5 kB / 330.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.009465, allocations: 33.7 kB / 330.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.009521, allocations: 104 kB / 330.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.00955, allocations: 31.73 kB / 330.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.009597, allocations: 29.69 kB / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.009709, allocations: 330.7 kB / 331.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.009745, allocations: 14.81 kB / 331.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-05/0.009796, allocations: 40.23 kB / 331.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.0099, allocations: 77.84 kB / 331.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009903, allocations: 0 / 331.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001429/0.01005, allocations: 88.36 kB / 331.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01006, allocations: 4 kB / 331.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01006, allocations: 0 / 331.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.01008, allocations: 4 kB / 331.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.01017, allocations: 27.92 kB / 331.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.01018, allocations: 8.125 kB / 331.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.01024, allocations: 7.938 kB / 331.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01025, allocations: 4 kB / 331.5 MB, free: 10.22 MB / 314.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 8.911e-05/0.01034, allocations: 128 kB / 331.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.01036, allocations: 12 kB / 331.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.0105, allocations: 75.06 kB / 331.8 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.0105, allocations: 3.938 kB / 331.8 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.0105, allocations: 0 / 331.8 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01051, allocations: 3.984 kB / 331.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.01062, allocations: 97.81 kB / 331.9 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01063, allocations: 11.94 kB / 331.9 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.0107, allocations: 11.98 kB / 331.9 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.0107, allocations: 0 / 331.9 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01071, allocations: 4 kB / 331.9 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01072, allocations: 3.938 kB / 331.9 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01072, allocations: 0 / 331.9 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.01089, allocations: 118.7 kB / 332 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.01091, allocations: 15.84 kB / 332 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.01094, allocations: 4 kB / 332 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.01099, allocations: 7.938 kB / 332 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.01102, allocations: 12.02 kB / 332 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.01104, allocations: 7.984 kB / 332 MB, free: 9.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.145e-05/0.01111, allocations: 51.64 kB / 332.1 MB, free: 9.602 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01111, allocations: 0 / 332.1 MB, free: 9.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.01133, allocations: 27.94 kB / 332.1 MB, free: 9.574 MB / 314.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.001553/0.01288, allocations: 0.5035 MB / 332.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.013, allocations: 56.84 kB / 332.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.01301, allocations: 4.062 kB / 332.7 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.235e-05/0.01306, allocations: 32.77 kB / 332.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.01325, allocations: 52.94 kB / 332.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.01367, allocations: 245.9 kB / 333 MB, free: 8.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.91e-05/0.01372, allocations: 75.77 kB / 333.1 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.203e-05/0.01379, allocations: 17.48 kB / 333.1 MB, free: 8.781 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.01389, allocations: 79.36 kB / 333.2 MB, free: 8.703 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01389, allocations: 3.938 kB / 333.2 MB, free: 8.699 MB / 314.7 MB Notification: Performance of Templates: time 0.003515/0.01741, allocations: 2.19 MB / 335.4 MB, free: 6.543 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.052053868304938]