Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001537/0.001537, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001643/0.001643, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.522/1.522, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3626/0.3626, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.468e-05, allocations: 6.25 kB / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003456/0.003491, allocations: 1.73 MB / 377.1 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.005473, allocations: 0.9664 MB / 378 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.005546, allocations: 4 kB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.005857, allocations: 43.7 kB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.00621, allocations: 95.47 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.006464, allocations: 79.66 kB / 378.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.006672, allocations: 107.6 kB / 378.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.006765, allocations: 4 kB / 378.4 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.006886, allocations: 55.83 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.006972, allocations: 27.91 kB / 378.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.006994, allocations: 4 kB / 378.5 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.00711, allocations: 51.91 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.00717, allocations: 15.92 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.007222, allocations: 19.88 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.007482, allocations: 119.6 kB / 378.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007484, allocations: 0 / 378.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.007485, allocations: 0 / 378.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.007489, allocations: 0 / 378.7 MB, free: 1.582 MB / 346.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.0006008/0.00809, allocations: 337.6 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.008128, allocations: 8.031 kB / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.008188, allocations: 12.89 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.008505, allocations: 165.5 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.008521, allocations: 4.375 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.008544, allocations: 384 / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.00871, allocations: 54.23 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.008947, allocations: 7.938 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.00896, allocations: 0 / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.008964, allocations: 0 / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.929e-05/0.009053, allocations: 19.98 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.009488, allocations: 228.6 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.009713, allocations: 58.61 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.009809, allocations: 24.8 kB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.009834, allocations: 4 kB / 379.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.01007, allocations: 71.31 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.01007, allocations: 4 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008263/0.0109, allocations: 185.3 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.01096, allocations: 51.41 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.0112, allocations: 191.2 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.01123, allocations: 29.7 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.01132, allocations: 108.1 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.01136, allocations: 27.8 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.01141, allocations: 21.72 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.01161, allocations: 318.8 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.01168, allocations: 23.98 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/0.01177, allocations: 37.7 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.01192, allocations: 65.64 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01192, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002379/0.01216, allocations: 105.6 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01217, allocations: 12.03 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01218, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.0122, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.0123, allocations: 20.3 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.0123, allocations: 0 / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.01236, allocations: 11.95 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.01237, allocations: 4 kB / 380.8 MB, free: 15.22 MB / 362.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 0.00013/0.0125, allocations: 129.7 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.01253, allocations: 15.94 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.01283, allocations: 127.2 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.01283, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01284, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01284, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.01339, allocations: 358.9 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01339, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.01343, allocations: 8 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01344, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.01345, allocations: 8 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01345, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01345, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.01376, allocations: 220.2 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.01378, allocations: 15.73 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.01381, allocations: 8 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.01388, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.01393, allocations: 7.984 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.01395, allocations: 7.938 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.01409, allocations: 147.9 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01409, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.01437, allocations: 24 kB / 381.9 MB, free: 14.1 MB / 362.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.002237/0.0166, allocations: 491.3 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.01681, allocations: 59.91 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.01682, allocations: 4 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.01691, allocations: 32.05 kB / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.0173, allocations: 31.91 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.01782, allocations: 229.5 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.01794, allocations: 96.22 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.668e-05/0.01799, allocations: 21.28 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.01804, allocations: 20.55 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01804, allocations: 4 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Templates: time 0.005443/0.02348, allocations: 1.87 MB / 384.7 MB, free: 11.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.889037193031982]