Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.0008275/0.0008275, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.000815/0.000815, allocations: 170 kB / 23.95 MB, free: 0.6016 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.9302/0.9302, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2609/0.2609, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.956e-05, allocations: 2.844 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00265/0.002679, allocations: 1.713 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.004015, allocations: 0.9741 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.004101, allocations: 0 / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.004401, allocations: 47.75 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.004654, allocations: 99.53 kB / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.004785, allocations: 79.59 kB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.004935, allocations: 103.6 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.005034, allocations: 7.984 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-05/0.005116, allocations: 59.77 kB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.0052, allocations: 27.91 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.005219, allocations: 4 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.0053, allocations: 47.91 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.005362, allocations: 19.94 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.005406, allocations: 19.92 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.005584, allocations: 127.5 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.005588, allocations: 3.984 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.00559, allocations: 0 / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.005595, allocations: 0 / 443 MB, free: 0.8125 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.0005844/0.006179, allocations: 353.5 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.006223, allocations: 8.031 kB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.006253, allocations: 38.69 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.006283, allocations: 8.891 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.006473, allocations: 157.6 kB / 443.5 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.006484, allocations: 384 / 443.5 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.006502, allocations: 8.375 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.006618, allocations: 57.98 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.006628, allocations: 0 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.006637, allocations: 3.938 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.006642, allocations: 4 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.006696, allocations: 23.97 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2004/0.2071, allocations: 263.5 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.2073, allocations: 55.08 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.2073, allocations: 19.8 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2073, allocations: 5.062 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.2075, allocations: 69.91 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.2075, allocations: 0 / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004875/0.208, allocations: 186.2 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.208, allocations: 54.19 kB / 444.3 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2081, allocations: 211.2 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.505e-06/0.2081, allocations: 25.7 kB / 444.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.2082, allocations: 104.8 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2082, allocations: 28.27 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.2082, allocations: 22 kB / 444.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.2083, allocations: 329.2 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.2083, allocations: 20.27 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.2084, allocations: 42.19 kB / 445 MB, free: 45.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.2084, allocations: 60.42 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2084, allocations: 3 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001141/0.2085, allocations: 109.5 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2085, allocations: 5.812 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2086, allocations: 2.844 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2086, allocations: 0 / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.2086, allocations: 15.17 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2086, allocations: 8.172 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.2087, allocations: 6.469 kB / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.2087, allocations: 2.906 kB / 445.3 MB, free: 45.54 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.729e-05/0.2087, allocations: 134 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.2088, allocations: 17.72 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.2089, allocations: 123.2 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2089, allocations: 2.844 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2089, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2089, allocations: 3.328 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.2092, allocations: 372.4 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2092, allocations: 8.25 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.2092, allocations: 13.83 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2092, allocations: 0 / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.2093, allocations: 4.781 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2093, allocations: 1.375 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2093, allocations: 2.812 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.2094, allocations: 219.5 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.2094, allocations: 10.91 kB / 446.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2094, allocations: 3.25 kB / 446.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.2094, allocations: 5.516 kB / 446.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.2095, allocations: 13.73 kB / 446.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2095, allocations: 3.031 kB / 446.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.2096, allocations: 160.9 kB / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2096, allocations: 0 / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.2097, allocations: 20.42 kB / 446.4 MB, free: 44.84 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.001053/0.2108, allocations: 1.153 MB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.2109, allocations: 65.53 kB / 447.6 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2109, allocations: 0 / 447.6 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.211, allocations: 24.45 kB / 447.6 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2112, allocations: 28.75 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2123, allocations: 1.714 MB / 449.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.2124, allocations: 98.84 kB / 449.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.054e-05/0.2124, allocations: 21.16 kB / 449.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.2125, allocations: 42.88 kB / 449.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2125, allocations: 0 / 449.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.2294, allocations: 4.327 MB / 453.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/6.93, allocations: 10.31 kB / 453.8 MB, free: 41.17 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.971949024125934]