Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.001806/0.001806, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002463/0.002463, allocations: 164.6 kB / 24.5 MB, free: 3.453 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.485/1.485, allocations: 177.1 MB / 204.7 MB, free: 9.008 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.237/0.237, allocations: 34.26 MB / 295.4 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 179] 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 79.81 kB / 443.2 MB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3435, allocations: 66.04 MB / 0.4973 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002663/0.3462, allocations: 1.727 MB / 0.499 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3476, allocations: 0.9799 MB / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.3476, allocations: 0 / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.3479, allocations: 54 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.3482, allocations: 93.67 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.3484, allocations: 80.36 kB / 0.5002 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.3485, allocations: 106.6 kB / 0.5003 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.3486, allocations: 11.12 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.3487, allocations: 41.66 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.3488, allocations: 36.28 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3488, allocations: 3.125 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.3489, allocations: 45.09 kB / 0.5004 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.3489, allocations: 28.67 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.349, allocations: 30.09 kB / 0.5005 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.3491, allocations: 131.4 kB / 0.5006 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3491, allocations: 0 / 0.5006 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3492, allocations: 0 / 0.5006 GB, free: 27.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3492, allocations: 0 / 0.5006 GB, free: 27.75 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.0004442/0.3496, allocations: 372.5 kB / 0.501 GB, free: 27.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.3496, allocations: 14 kB / 0.501 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3497, allocations: 11.23 kB / 0.501 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.3499, allocations: 150.7 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3499, allocations: 4.375 kB / 0.5011 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.3499, allocations: 3.656 kB / 0.5011 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.35, allocations: 65.14 kB / 0.5012 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.35, allocations: 0 / 0.5012 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3501, allocations: 0 / 0.5012 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3501, allocations: 3.156 kB / 0.5012 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.713e-05/0.3501, allocations: 17.27 kB / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.3504, allocations: 244 kB / 0.5014 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.3506, allocations: 64.23 kB / 0.5015 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.3506, allocations: 22.03 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.3506, allocations: 0 / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.3507, allocations: 70.05 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3507, allocations: 0 / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004955/0.3512, allocations: 184.9 kB / 0.5018 GB, free: 26.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.3513, allocations: 54.73 kB / 0.5018 GB, free: 26.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.3514, allocations: 248.7 kB / 0.5021 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3514, allocations: 28.73 kB / 0.5021 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.3515, allocations: 117.6 kB / 0.5022 GB, free: 26.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.3515, allocations: 19.08 kB / 0.5022 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.3515, allocations: 27.12 kB / 0.5022 GB, free: 26.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.3516, allocations: 332.7 kB / 0.5026 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.3516, allocations: 21.19 kB / 0.5026 GB, free: 26.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.3517, allocations: 41.19 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.3518, allocations: 54.22 kB / 0.5027 GB, free: 25.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3518, allocations: 7.031 kB / 0.5027 GB, free: 25.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001635/0.352, allocations: 112.1 kB / 0.5028 GB, free: 25.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.352, allocations: 3.219 kB / 0.5028 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.352, allocations: 3.219 kB / 0.5028 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.352, allocations: 0 / 0.5028 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.3521, allocations: 16.36 kB / 0.5028 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3521, allocations: 0 / 0.5028 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.3521, allocations: 11.06 kB / 0.5028 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.3522, allocations: 6.516 kB / 0.5028 GB, free: 25.9 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 7.716e-05/0.3522, allocations: 141.9 kB / 0.503 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.3522, allocations: 14.22 kB / 0.503 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.3525, allocations: 123.6 kB / 0.5031 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3525, allocations: 2.969 kB / 0.5031 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3525, allocations: 3.328 kB / 0.5031 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3525, allocations: 3.984 kB / 0.5031 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.3528, allocations: 354.1 kB / 0.5034 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3528, allocations: 0 / 0.5034 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.3528, allocations: 9.375 kB / 0.5034 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3528, allocations: 32 / 0.5034 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3528, allocations: 14.56 kB / 0.5035 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3528, allocations: 0 / 0.5035 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3529, allocations: 3.125 kB / 0.5035 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.353, allocations: 217.2 kB / 0.5037 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.3531, allocations: 15.25 kB / 0.5037 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3531, allocations: 6.938 kB / 0.5037 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.3532, allocations: 1.469 kB / 0.5037 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.3532, allocations: 11.05 kB / 0.5037 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3532, allocations: 3.156 kB / 0.5037 GB, free: 25.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.3533, allocations: 182.1 kB / 0.5039 GB, free: 25.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3533, allocations: 4 kB / 0.5039 GB, free: 25.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3536, allocations: 22.53 kB / 0.5039 GB, free: 25.09 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.001845/0.3555, allocations: 494.5 kB / 0.5044 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.3557, allocations: 56.75 kB / 0.5044 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3557, allocations: 3.938 kB / 0.5044 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.3557, allocations: 30.12 kB / 0.5045 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.3561, allocations: 32.69 kB / 0.5045 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.3566, allocations: 277.2 kB / 0.5048 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.319e-05/0.3567, allocations: 99.17 kB / 0.5049 GB, free: 24.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.823e-05/0.3567, allocations: 17.69 kB / 0.5049 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.3568, allocations: 17.44 kB / 0.5049 GB, free: 24.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3568, allocations: 0 / 0.5049 GB, free: 24.52 MB / 446.1 MB Notification: Performance of Templates: time 0.004886/0.3616, allocations: 1.843 MB / 0.5067 GB, free: 24.26 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.1042465140344575]