Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009368/0.0009368, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009545/0.0009545, allocations: 161 kB / 24.56 MB, free: 12 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 0.9833/0.9833, allocations: 177.1 MB / 205 MB, free: 5.617 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.2876/0.2876, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.512e-05, allocations: 2.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003008/0.003033, allocations: 1.769 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.005537, allocations: 1.734 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.005624, allocations: 4 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.005917, allocations: 39.7 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.006295, allocations: 99.47 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.006508, allocations: 83.59 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.0067, allocations: 103.6 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.006798, allocations: 11.97 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.006924, allocations: 63.78 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.007053, allocations: 31.89 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.007075, allocations: 4 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.007283, allocations: 107.8 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.007342, allocations: 19.92 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.007393, allocations: 23.91 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.007704, allocations: 163.4 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.007709, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007711, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.007716, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.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.000579/0.008295, allocations: 451.8 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.008333, allocations: 8.031 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.008401, allocations: 20.88 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.008637, allocations: 141 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.008659, allocations: 8.375 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.008684, allocations: 12.3 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.008876, allocations: 111.4 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.008889, allocations: 3.953 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.008901, allocations: 0 / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.008909, allocations: 0 / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.00897, allocations: 15.98 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.009324, allocations: 279.8 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.009459, allocations: 59.09 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.009494, allocations: 23.67 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.009506, allocations: 0 / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.009617, allocations: 73.05 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.009618, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004179/0.01004, allocations: 149.3 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.01008, allocations: 81.11 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.01023, allocations: 224.8 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.01024, allocations: 29.64 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.0103, allocations: 142.9 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.01033, allocations: 31.78 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.01037, allocations: 27.38 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.0105, allocations: 0.4961 MB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/0.01053, allocations: 15.98 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.208e-05/0.01058, allocations: 64.75 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.01065, allocations: 51.44 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01065, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001364/0.01079, allocations: 93.52 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.0108, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01081, allocations: 8.062 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.01082, allocations: 3.984 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.0109, allocations: 15.94 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.0109, allocations: 3.938 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.01094, allocations: 8 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.01095, allocations: 4 kB / 385 MB, free: 11.42 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 8.074e-05/0.01103, allocations: 168.5 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.01105, allocations: 7.953 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.01122, allocations: 106.4 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01122, allocations: 0 / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01122, allocations: 4 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01123, allocations: 0 / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.01156, allocations: 392.9 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01156, allocations: 0 / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.0116, allocations: 11.98 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.0116, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01161, allocations: 4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01161, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01161, allocations: 384 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.01178, allocations: 255.4 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.0118, allocations: 15.98 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.01182, allocations: 8 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.01189, allocations: 3.984 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.01192, allocations: 19.86 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.01194, allocations: 4 kB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.391e-05/0.01202, allocations: 161.6 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01202, allocations: 0 / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.01231, allocations: 47.86 kB / 386.2 MB, free: 10.15 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.001541/0.01385, allocations: 0.5369 MB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.01402, allocations: 55.61 kB / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01403, allocations: 0 / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.01408, allocations: 35.61 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.01444, allocations: 42.89 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.01489, allocations: 202.2 kB / 387 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.851e-05/0.01494, allocations: 63.34 kB / 387.1 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.015, allocations: 25.08 kB / 387.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.01505, allocations: 16.5 kB / 387.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01505, allocations: 0 / 387.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of Templates: time 0.005414/0.02047, allocations: 2.757 MB / 389.9 MB, free: 6.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.1011666590347886]