Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.002059/0.002059, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.00279/0.00279, allocations: 161.6 kB / 24.27 MB, free: 172 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.494/1.494, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3931/0.3931, allocations: 32.79 MB / 293.9 MB, free: 1.203 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.122e-05, allocations: 2.312 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003223/0.003254, allocations: 1.734 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.005166, allocations: 0.9664 MB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.00523, allocations: 3.938 kB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.005513, allocations: 35.78 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.00585, allocations: 99.47 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.006066, allocations: 83.59 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.006262, allocations: 111.6 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.197e-05/0.006344, allocations: 8 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.006451, allocations: 47.84 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/0.006531, allocations: 27.89 kB / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.006551, allocations: 8 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.00666, allocations: 47.92 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.006832, allocations: 19.92 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.006882, allocations: 23.86 kB / 378.5 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.007116, allocations: 123.5 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007119, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.007119, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.007124, allocations: 0 / 378.7 MB, free: 1.543 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.0005821/0.007706, allocations: 341.6 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.00774, allocations: 8.031 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.007801, allocations: 20.84 kB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.008057, allocations: 146.3 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.008072, allocations: 4.375 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.008099, allocations: 8.312 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.00826, allocations: 54.23 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.008273, allocations: 3.938 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.008283, allocations: 0 / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.008291, allocations: 7.938 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.008371, allocations: 15.98 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.008784, allocations: 240.5 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.008974, allocations: 62.61 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.433e-05/0.009048, allocations: 28.78 kB / 379.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.009065, allocations: 4 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.009227, allocations: 63.39 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.009228, allocations: 0 / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006265/0.009855, allocations: 177.4 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.009905, allocations: 55.41 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.01016, allocations: 199.1 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.01019, allocations: 37.7 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.01027, allocations: 104 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.01032, allocations: 27.78 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.01037, allocations: 25.72 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.01056, allocations: 322.8 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.01063, allocations: 27.92 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.01071, allocations: 33.7 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.01086, allocations: 65.64 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01086, allocations: 0 / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002285/0.01109, allocations: 113.5 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.0111, allocations: 8 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.01111, allocations: 0 / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01112, allocations: 0 / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.01122, allocations: 12.38 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.01123, allocations: 11.92 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.01128, allocations: 4 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.01129, allocations: 4 kB / 380.9 MB, free: 15.16 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.0001377/0.01142, allocations: 125.8 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.01146, allocations: 23.92 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.01175, allocations: 123.2 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01175, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01176, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01176, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.01227, allocations: 350.9 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.01228, allocations: 4 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.01233, allocations: 15.92 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01233, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.01235, allocations: 8 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01235, allocations: 4.031 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01235, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.01265, allocations: 216.2 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.01267, allocations: 11.91 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.0127, allocations: 8 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.01277, allocations: 0 / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.01281, allocations: 7.984 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.01283, allocations: 4 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.01299, allocations: 156.2 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01299, allocations: 0 / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.01327, allocations: 35.86 kB / 381.9 MB, free: 14.02 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.002262/0.01553, allocations: 491.3 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.01573, allocations: 63.84 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01573, allocations: 0 / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.01582, allocations: 31.98 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.01618, allocations: 31.92 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.01675, allocations: 233.4 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.01686, allocations: 92.3 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.09e-05/0.01693, allocations: 29.39 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.01698, allocations: 20.5 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01698, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005543/0.02252, allocations: 1.873 MB / 384.8 MB, free: 11.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.8956286740722135]