Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0008302/0.0008302, allocations: 79.7 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.0008093/0.0008093, allocations: 174 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.8914/0.8914, 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.2571/0.2571, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 3.938 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.315e-05, allocations: 2.281 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002348/0.002371, allocations: 1.722 MB / 441.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003578, allocations: 0.9702 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.003654, allocations: 0 / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.003974, allocations: 47.81 kB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.004251, allocations: 107.4 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.004386, allocations: 75.66 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.004539, allocations: 107.6 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.004635, allocations: 4 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.004715, allocations: 55.83 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.004788, allocations: 31.91 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.004806, allocations: 4 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.004883, allocations: 47.86 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.004945, allocations: 31.84 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.004991, allocations: 19.94 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.005192, allocations: 127.5 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.005196, allocations: 0 / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005197, allocations: 0 / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005203, 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.0004875/0.00569, allocations: 361.5 kB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.005735, allocations: 8.031 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.00577, allocations: 42.67 kB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.005806, allocations: 12.89 kB / 443.4 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.006041, allocations: 154.3 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.006054, allocations: 384 / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.006072, allocations: 8.312 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.006197, allocations: 57.98 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.006207, allocations: 0 / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.006216, allocations: 0 / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.006221, allocations: 4 kB / 443.6 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.006273, allocations: 27.97 kB / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.191/0.1973, allocations: 262.4 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1974, allocations: 56.39 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.1975, allocations: 21 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1975, allocations: 8.281 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.1977, allocations: 70.83 kB / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.375e-06/0.1977, allocations: 0 / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004369/0.1981, allocations: 189.2 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.1981, allocations: 54.81 kB / 444.3 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1983, allocations: 238.3 kB / 444.6 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.1983, allocations: 28.89 kB / 444.6 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.1983, allocations: 110.9 kB / 444.7 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1983, allocations: 23.14 kB / 444.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.1984, allocations: 32.08 kB / 444.7 MB, free: 45.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.332e-05/0.1984, allocations: 322.8 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.1984, allocations: 20.2 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.1985, allocations: 39.17 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.237e-05/0.1985, allocations: 58.64 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1985, allocations: 2.625 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001064/0.1986, allocations: 118.2 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1986, allocations: 6.062 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1986, allocations: 0 / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1987, allocations: 0 / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.1987, allocations: 17.67 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1987, allocations: 7.578 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.1988, allocations: 3.219 kB / 445.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1988, allocations: 9.781 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 6.073e-05/0.1988, allocations: 134 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1988, allocations: 20.75 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.199, allocations: 121.9 kB / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.199, allocations: 0 / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.199, allocations: 2.219 kB / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.199, allocations: 0 / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1992, allocations: 382.1 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1992, allocations: 2.562 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.1993, allocations: 10.38 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1993, allocations: 0 / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1993, allocations: 8.531 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1993, allocations: 1.375 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1993, allocations: 0 / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1994, allocations: 219.7 kB / 446.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.1994, allocations: 10.66 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1994, allocations: 7.297 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.1995, allocations: 2.781 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.1995, allocations: 5.672 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1995, allocations: 5.812 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.862e-05/0.1996, allocations: 181.3 kB / 446.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1996, allocations: 2.844 kB / 446.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.1998, allocations: 30.12 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.0009044/0.2007, allocations: 1.14 MB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.2008, allocations: 57.98 kB / 447.7 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2008, allocations: 4.062 kB / 447.7 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.002e-05/0.2008, allocations: 36.77 kB / 447.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.2011, allocations: 24.59 kB / 447.7 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.202, allocations: 1.771 MB / 449.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.118e-05/0.2021, allocations: 99.38 kB / 449.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.821e-05/0.2021, allocations: 21.34 kB / 449.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.2022, allocations: 43.83 kB / 449.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2022, allocations: 0 / 449.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.2188, allocations: 4.452 MB / 454.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/6.836, allocations: 11.08 kB / 454.1 MB, free: 41.1 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.829351495951414]