Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.000783/0.000783, 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.001357/0.001357, allocations: 174.3 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.9534/0.9534, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2621/0.2621, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.47e-05, allocations: 8.812 kB / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.204/0.204, allocations: 1.773 MB / 444 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2051, allocations: 1.053 MB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.2052, allocations: 6.938 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.2055, allocations: 298.8 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.2058, allocations: 258.1 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.2059, allocations: 110.7 kB / 445.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.2061, allocations: 266.1 kB / 446 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.2062, allocations: 10.34 kB / 446 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2063, allocations: 147.9 kB / 446.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.2065, allocations: 199.3 kB / 446.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2065, allocations: 5.75 kB / 446.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.2066, allocations: 55.62 kB / 446.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.2067, allocations: 139.1 kB / 446.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.2068, allocations: 78.25 kB / 446.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.2071, allocations: 346.2 kB / 447 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2071, allocations: 0 / 447 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.2071, allocations: 1.031 kB / 447 MB, free: 42.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.2071, allocations: 0 / 447 MB, free: 42.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006137/0.2077, allocations: 0.6762 MB / 447.6 MB, free: 42.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2077, allocations: 8.594 kB / 447.6 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.478e-05/0.2077, allocations: 33.62 kB / 447.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.2078, allocations: 52.33 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.2082, allocations: 390.4 kB / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2082, allocations: 384 / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.2082, allocations: 7.094 kB / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.2083, allocations: 90.58 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2083, allocations: 0.7812 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.2083, allocations: 2.875 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2083, allocations: 0.5 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.241e-05/0.2084, allocations: 40.78 kB / 448.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.2086, allocations: 327.2 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2088, allocations: 107.1 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.2089, allocations: 44.73 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2089, allocations: 0 / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.209, allocations: 114.8 kB / 448.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.209, allocations: 0 / 448.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002705/0.2093, allocations: 209.5 kB / 449 MB, free: 41.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.2093, allocations: 77.11 kB / 449.1 MB, free: 41.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005747/0.2099, allocations: 1.036 MB / 450.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.2099, allocations: 36.45 kB / 450.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.21, allocations: 229.9 kB / 450.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.21, allocations: 28.83 kB / 450.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.2101, allocations: 29.67 kB / 450.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.2101, allocations: 367.5 kB / 450.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.2102, allocations: 32.36 kB / 450.9 MB, free: 40.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.2102, allocations: 54.47 kB / 450.9 MB, free: 40.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.663e-05/0.2103, allocations: 98.56 kB / 451 MB, free: 40.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2103, allocations: 0 / 451 MB, free: 40.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001485/0.2105, allocations: 181.1 kB / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2105, allocations: 6.75 kB / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2105, allocations: 5.781 kB / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2105, allocations: 0 / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.2106, allocations: 30.39 kB / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2106, allocations: 0 / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.2106, allocations: 13.72 kB / 451.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2106, allocations: 5.984 kB / 451.2 MB, free: 40.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001211/0.2108, allocations: 222.5 kB / 451.5 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.2108, allocations: 58.38 kB / 451.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.211, allocations: 200.8 kB / 451.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.211, allocations: 0 / 451.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.211, allocations: 2.062 kB / 451.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.211, allocations: 2.812 kB / 451.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2112, allocations: 292.8 kB / 452 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2112, allocations: 0 / 452 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.2112, allocations: 12.69 kB / 452 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2112, allocations: 3.938 kB / 452 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2112, allocations: 18.23 kB / 452 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2112, allocations: 3 kB / 452 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2112, allocations: 0 / 452 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.2114, allocations: 213.6 kB / 452.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.2114, allocations: 69.05 kB / 452.3 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.2114, allocations: 6.156 kB / 452.3 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.2115, allocations: 10.91 kB / 452.3 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.2115, allocations: 10.45 kB / 452.3 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.2115, allocations: 8.953 kB / 452.4 MB, free: 39.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004447/0.212, allocations: 0.7692 MB / 453.1 MB, free: 39.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.212, allocations: 0 / 453.1 MB, free: 39.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.2122, allocations: 45.69 kB / 453.2 MB, free: 39.22 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008871/0.213, allocations: 1.089 MB / 454.3 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.2132, allocations: 90.19 kB / 454.3 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.2132, allocations: 4.125 kB / 454.3 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/0.2132, allocations: 47.83 kB / 454.4 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2135, allocations: 72.52 kB / 454.5 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.2165, allocations: 4.548 MB / 459 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.2166, allocations: 244.5 kB / 459.3 MB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.671e-05/0.2166, allocations: 55.48 kB / 459.3 MB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.2167, allocations: 148.8 kB / 459.5 MB, free: 36.09 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2167, allocations: 3.938 kB / 459.5 MB, free: 36.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.2348, allocations: 9.959 MB / 469.4 MB, free: 34.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.213, allocations: 10.62 kB / 469.4 MB, free: 34.12 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 9.402297357097268]