Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.0009184/0.0009184, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009381/0.0009381, allocations: 161.4 kB / 24.56 MB, free: 20 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.9648/0.9648, allocations: 177.2 MB / 205 MB, free: 5.281 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.2364/0.2364, allocations: 34.26 MB / 295.7 MB, free: 0.7148 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.964e-05, allocations: 2.312 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002014/0.002034, allocations: 1.774 MB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.00312, allocations: 1.013 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.003177, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.003414, allocations: 43.7 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.003644, allocations: 95.53 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.003784, allocations: 79.61 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.003923, allocations: 107.6 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.003998, allocations: 7.984 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.004077, allocations: 59.77 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.004139, allocations: 31.91 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.004154, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.839e-05/0.004222, allocations: 43.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.004266, allocations: 19.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.004303, allocations: 27.91 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004454, allocations: 99.53 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.004456, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004457, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004461, allocations: 0 / 381.5 MB, free: 15.16 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.0004131/0.004874, allocations: 447.9 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.004904, allocations: 8.031 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.004945, allocations: 24.84 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.005094, allocations: 149.1 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.00511, allocations: 384 / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.005129, allocations: 4.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.005238, allocations: 66.88 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.005247, allocations: 3.938 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.005256, allocations: 4 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.005261, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.188e-05/0.005293, allocations: 11.98 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.005557, allocations: 291.8 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.622e-05/0.005653, allocations: 59.09 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.005689, allocations: 23.61 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.005703, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.769e-05/0.005791, allocations: 69.05 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.005792, allocations: 3.938 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003397/0.006131, allocations: 149.4 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.006157, allocations: 51.41 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.006285, allocations: 242.3 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.006296, allocations: 29.7 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.006349, allocations: 150.9 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.006373, allocations: 23.8 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.006405, allocations: 31.36 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.006511, allocations: 0.4962 MB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.006534, allocations: 8 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.006568, allocations: 39.3 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.006628, allocations: 55.36 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006629, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001004/0.006729, allocations: 101.5 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.006741, allocations: 8 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006745, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.006759, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.006822, allocations: 15.98 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.006828, allocations: 4 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.006853, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.006859, allocations: 4 kB / 384 MB, free: 12.4 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 6.552e-05/0.006925, allocations: 168.5 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.006938, allocations: 7.953 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.007071, allocations: 111.1 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007073, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.007076, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007079, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.007339, allocations: 400.9 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007341, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.007365, allocations: 8 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.007366, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.007374, allocations: 4 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007375, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007376, allocations: 4.031 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.007509, allocations: 255.4 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.007522, allocations: 15.89 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.007538, allocations: 12.31 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.31e-05/0.007581, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.007611, allocations: 7.984 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.007625, allocations: 8 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.338e-05/0.007698, allocations: 172.1 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007698, allocations: 0 / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.007864, allocations: 31.92 kB / 385.2 MB, free: 11.13 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.0009281/0.008792, allocations: 440.9 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.008897, allocations: 51.61 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008898, allocations: 0 / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.008935, allocations: 27.67 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.009155, allocations: 32.53 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.009461, allocations: 221.9 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.009507, allocations: 71.45 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.172e-05/0.009539, allocations: 12.98 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.009591, allocations: 20.48 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009591, allocations: 0 / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003287/0.01288, allocations: 1.872 MB / 388 MB, free: 8.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.2124124043621123]