Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.0009375/0.0009375, allocations: 83.69 kB / 20.68 MB, free: 3.883 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.00118/0.00118, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9246/0.9246, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2448/0.2448, 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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.3e-05, allocations: 6.281 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002376/0.002399, allocations: 1.671 MB / 441.3 MB, free: 2.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003656, allocations: 0.9586 MB / 442.3 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.673e-05/0.003753, allocations: 7.938 kB / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.004083, allocations: 63.72 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.004416, allocations: 107.5 kB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.004617, allocations: 75.61 kB / 442.5 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.004792, allocations: 111.7 kB / 442.6 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.004839, allocations: 8.172 kB / 442.7 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.004938, allocations: 59.77 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.005041, allocations: 47.88 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.005061, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.00514, allocations: 24 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.005199, allocations: 27.91 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.005238, allocations: 15.92 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.00542, allocations: 111.6 kB / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005422, allocations: 0 / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005423, allocations: 4 kB / 442.9 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.005428, allocations: 0 / 442.9 MB, free: 0.8594 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004377/0.005866, allocations: 329.6 kB / 443.3 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.005904, allocations: 8.031 kB / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.005935, allocations: 38.75 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.005972, allocations: 16.83 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.006205, allocations: 146.3 kB / 443.5 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.006217, allocations: 384 / 443.5 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.006227, allocations: 384 / 443.5 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.006352, allocations: 57.98 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.006359, allocations: 7.938 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.006368, allocations: 0 / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.006373, allocations: 0 / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/0.006423, allocations: 19.98 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1773/0.1838, allocations: 156.6 kB / 443.7 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1841, allocations: 53.16 kB / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.1841, allocations: 19.14 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1841, allocations: 0 / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.1843, allocations: 74.27 kB / 443.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1843, allocations: 2.906 kB / 443.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002298/0.1845, allocations: 93.91 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1845, allocations: 55.94 kB / 444 MB, free: 46.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1846, allocations: 200.2 kB / 444.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.1847, allocations: 29.23 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.1847, allocations: 100.6 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.1847, allocations: 14.7 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.1847, allocations: 23.81 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.49e-05/0.1848, allocations: 322.4 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.914e-05/0.1848, allocations: 16.22 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.1849, allocations: 34.23 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.1849, allocations: 48.78 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1849, allocations: 0 / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.758e-05/0.185, allocations: 81.97 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.185, allocations: 2.875 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.185, allocations: 6.766 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.185, allocations: 0 / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.1851, allocations: 18.22 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1851, allocations: 1.375 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.1851, allocations: 9.062 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1852, allocations: 6.047 kB / 444.9 MB, free: 45.82 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 (7): * Single equations (assignments): 7 * 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.07e-05/0.1852, allocations: 123.8 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.1852, allocations: 10.48 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.1854, allocations: 99.84 kB / 445.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1854, allocations: 0 / 445.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1854, allocations: 0 / 445.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1854, allocations: 2.875 kB / 445.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.768e-05/0.1855, allocations: 163.7 kB / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1855, allocations: 0 / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.1855, allocations: 7.938 kB / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1855, allocations: 3.875 kB / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1855, allocations: 2.969 kB / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1855, allocations: 0 / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1855, allocations: 1.5 kB / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.1856, allocations: 116.8 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.1856, allocations: 14.66 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1857, allocations: 5.844 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.1857, allocations: 6.375 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1857, allocations: 0 / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1857, allocations: 6.266 kB / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.809e-05/0.1858, allocations: 157.2 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1858, allocations: 6.609 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.186, allocations: 18.28 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009349/0.1869, allocations: 0.9807 MB / 446.6 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.187, allocations: 53.3 kB / 446.7 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.187, allocations: 0 / 446.7 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.187, allocations: 19.3 kB / 446.7 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.1872, allocations: 26.66 kB / 446.7 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.1882, allocations: 1.518 MB / 448.2 MB, free: 43.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.1882, allocations: 100.2 kB / 448.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.577e-05/0.1883, allocations: 14.66 kB / 448.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.1883, allocations: 33.28 kB / 448.4 MB, free: 43.41 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1883, allocations: 0 / 448.4 MB, free: 43.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.2052, allocations: 3.985 MB / 452.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/6.86, allocations: 2.812 kB / 452.4 MB, free: 42.04 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.006102541461587]