Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002055/0.002055, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 79.88 kB / 443.2 MB, free: 6.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3443, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002486/0.3468, allocations: 1.721 MB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.3481, allocations: 0.9752 MB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.3482, allocations: 4 kB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.3485, allocations: 44.16 kB / 0.5 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.3487, allocations: 93.31 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.3489, allocations: 80.8 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.349, allocations: 103.7 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.3491, allocations: 18.48 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.3492, allocations: 38.97 kB / 0.5003 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.3493, allocations: 36.19 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3493, allocations: 6.375 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.3494, allocations: 43.38 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.3494, allocations: 17.64 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.3495, allocations: 36.7 kB / 0.5005 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3497, allocations: 124.6 kB / 0.5006 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3497, allocations: 3.938 kB / 0.5006 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3497, allocations: 0 / 0.5006 GB, free: 27.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3497, allocations: 0 / 0.5006 GB, free: 27.69 MB / 446.1 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.0004261/0.3501, allocations: 357.6 kB / 0.5009 GB, free: 27.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.3501, allocations: 13.41 kB / 0.5009 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.3502, allocations: 11.39 kB / 0.501 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3504, allocations: 157.9 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3504, allocations: 3.688 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.3504, allocations: 3.625 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3505, allocations: 58.75 kB / 0.5012 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3506, allocations: 3.156 kB / 0.5012 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3506, allocations: 0 / 0.5012 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3506, allocations: 0 / 0.5012 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.3506, allocations: 23.11 kB / 0.5012 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.3509, allocations: 231.4 kB / 0.5014 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.3511, allocations: 68.03 kB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.3511, allocations: 21.88 kB / 0.5015 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.3511, allocations: 3.938 kB / 0.5015 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.3513, allocations: 73.5 kB / 0.5016 GB, free: 26.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.3513, allocations: 3.984 kB / 0.5016 GB, free: 26.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004861/0.3518, allocations: 186.8 kB / 0.5018 GB, free: 26.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.3518, allocations: 51.41 kB / 0.5018 GB, free: 26.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3519, allocations: 228.1 kB / 0.502 GB, free: 26.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.3519, allocations: 29.7 kB / 0.5021 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.352, allocations: 105.4 kB / 0.5022 GB, free: 26.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.352, allocations: 19.02 kB / 0.5022 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.352, allocations: 27.7 kB / 0.5022 GB, free: 26.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.3521, allocations: 325.4 kB / 0.5025 GB, free: 26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.3521, allocations: 24.12 kB / 0.5025 GB, free: 26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/0.3522, allocations: 40.72 kB / 0.5026 GB, free: 25.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.668e-05/0.3523, allocations: 58.66 kB / 0.5026 GB, free: 25.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3523, allocations: 4 kB / 0.5026 GB, free: 25.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001524/0.3524, allocations: 108.6 kB / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3524, allocations: 6.312 kB / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3525, allocations: 0 / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3525, allocations: 0 / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.3525, allocations: 16.36 kB / 0.5028 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3525, allocations: 3.25 kB / 0.5028 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.3526, allocations: 7.938 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.3526, allocations: 3.094 kB / 0.5028 GB, free: 25.86 MB / 446.1 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 6.368e-05/0.3527, allocations: 142.3 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.3527, allocations: 10.97 kB / 0.5029 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.3529, allocations: 127.7 kB / 0.503 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3529, allocations: 0 / 0.503 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3529, allocations: 0 / 0.503 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3529, allocations: 3.156 kB / 0.503 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.3532, allocations: 350.2 kB / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3532, allocations: 2.969 kB / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.3532, allocations: 9.562 kB / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3533, allocations: 2.875 kB / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3533, allocations: 8.031 kB / 0.5034 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3533, allocations: 3 kB / 0.5034 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3533, allocations: 0 / 0.5034 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.3534, allocations: 221.9 kB / 0.5036 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.3535, allocations: 7.016 kB / 0.5036 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3535, allocations: 10.44 kB / 0.5036 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.3536, allocations: 3.469 kB / 0.5036 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.3536, allocations: 10.38 kB / 0.5036 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3536, allocations: 3.25 kB / 0.5036 GB, free: 25.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.161e-05/0.3537, allocations: 159 kB / 0.5038 GB, free: 25.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3537, allocations: 7.219 kB / 0.5038 GB, free: 25.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000247/0.3539, allocations: 20.09 kB / 0.5038 GB, free: 25.06 MB / 446.1 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.001714/0.3557, allocations: 489.8 kB / 0.5043 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.3558, allocations: 61.12 kB / 0.5043 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3558, allocations: 3.938 kB / 0.5043 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.3559, allocations: 26.2 kB / 0.5044 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3562, allocations: 26.38 kB / 0.5044 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.3566, allocations: 260.6 kB / 0.5046 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.3567, allocations: 106.2 kB / 0.5047 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.211e-05/0.3567, allocations: 16.38 kB / 0.5048 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.3567, allocations: 18.25 kB / 0.5048 GB, free: 24.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3567, allocations: 0 / 0.5048 GB, free: 24.49 MB / 446.1 MB Notification: Performance of Templates: time 0.004246/0.361, allocations: 1.843 MB / 0.5066 GB, free: 24.23 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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: 5.095094711985439]