Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.000816/0.000816, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0009857/0.0009857, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 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.9191/0.9191, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2529/0.2529, allocations: 32.79 MB / 293.5 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.391e-05, allocations: 2.281 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002766/0.0028, allocations: 1.71 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004004, allocations: 0.978 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.891e-05/0.004083, allocations: 0 / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.004425, allocations: 43.81 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.004747, allocations: 111.4 kB / 442.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.004966, allocations: 75.67 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.005141, allocations: 107.6 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.005255, allocations: 8 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.005353, allocations: 51.88 kB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/0.005426, allocations: 23.92 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.005443, allocations: 4 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.005531, allocations: 51.84 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.005589, allocations: 27.86 kB / 442.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.00563, allocations: 19.92 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.005825, allocations: 139.5 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.005828, allocations: 0 / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.00583, allocations: 0 / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005835, allocations: 0 / 443 MB, free: 0.7969 MB / 410.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.0004634/0.006298, allocations: 353.5 kB / 443.4 MB, free: 432 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.006338, allocations: 12.03 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.006372, allocations: 38.69 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.006407, allocations: 12.89 kB / 443.4 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.006646, allocations: 154.3 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.006658, allocations: 4.312 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.006678, allocations: 16.36 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.006807, allocations: 57.98 kB / 443.6 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.006818, allocations: 0 / 443.6 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.006827, allocations: 0 / 443.6 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.006832, allocations: 3.984 kB / 443.6 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.006883, allocations: 23.92 kB / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1901/0.197, allocations: 262.3 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1971, allocations: 56.12 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.1972, allocations: 24.92 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.1972, allocations: 2.969 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.1973, allocations: 71.2 kB / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1973, allocations: 0 / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004393/0.1978, allocations: 182.3 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.1978, allocations: 54.25 kB / 444.3 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1979, allocations: 241.5 kB / 444.5 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.1979, allocations: 30.61 kB / 444.6 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.198, allocations: 111 kB / 444.7 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.198, allocations: 23.84 kB / 444.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.198, allocations: 26.03 kB / 444.7 MB, free: 45.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.1981, allocations: 326.8 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.1981, allocations: 22.52 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.1981, allocations: 43.06 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.1982, allocations: 61.59 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1982, allocations: 0 / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001/0.1983, allocations: 110.8 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1983, allocations: 5.188 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1983, allocations: 0.5625 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1983, allocations: 1.5 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.1984, allocations: 16.42 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1984, allocations: 6.016 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.1984, allocations: 2.938 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1984, allocations: 9.75 kB / 445.3 MB, free: 45.53 MB / 410.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 5.802e-05/0.1985, allocations: 132.2 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.1985, allocations: 17.03 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1987, allocations: 123 kB / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1987, allocations: 3.062 kB / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1987, allocations: 0 / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1987, allocations: 0 / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.1989, allocations: 392.2 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1989, allocations: 0 / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.199, allocations: 11.3 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.199, allocations: 4.047 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.199, allocations: 2.344 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.199, allocations: 4.156 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.199, allocations: 0 / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.1991, allocations: 215.2 kB / 446.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.1991, allocations: 10.81 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1991, allocations: 10.08 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.1992, allocations: 2.562 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.1992, allocations: 12.7 kB / 446.2 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1992, allocations: 5.797 kB / 446.3 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.1993, allocations: 177.7 kB / 446.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1993, allocations: 0 / 446.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.1995, allocations: 28.06 kB / 446.5 MB, free: 44.79 MB / 410.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.0009217/0.2004, allocations: 1.144 MB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.2005, allocations: 60.31 kB / 447.7 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2005, allocations: 0.6562 kB / 447.7 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.2005, allocations: 27.56 kB / 447.7 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.2008, allocations: 29.33 kB / 447.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2018, allocations: 1.78 MB / 449.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.2019, allocations: 98.78 kB / 449.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.646e-05/0.2019, allocations: 20.14 kB / 449.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.202, allocations: 37.23 kB / 449.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.202, allocations: 0 / 449.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.2176, allocations: 4.449 MB / 454.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/6.831, allocations: 3.375 kB / 454.1 MB, free: 41.11 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.896844064816833]