Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001298/0.001298, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001075/0.001075, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.065/1.065, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1431/0.1431, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.339e-05, allocations: 5.516 kB / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002934/0.002958, allocations: 1.676 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.004533, allocations: 1.474 MB / 410.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.004618, allocations: 0 / 410.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.004933, allocations: 35.77 kB / 410.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.005217, allocations: 71.61 kB / 410.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.005455, allocations: 87.66 kB / 410.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.005625, allocations: 111.6 kB / 410.4 MB, free: 9.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.005725, allocations: 8.219 kB / 410.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.005813, allocations: 51.89 kB / 410.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.963e-05/0.005913, allocations: 27.91 kB / 410.5 MB, free: 9.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.005934, allocations: 8 kB / 410.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.006057, allocations: 63.84 kB / 410.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.006115, allocations: 23.92 kB / 410.6 MB, free: 9.785 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.006159, allocations: 23.91 kB / 410.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.006383, allocations: 139.5 kB / 410.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.006388, allocations: 0 / 410.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.006389, allocations: 0 / 410.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006395, allocations: 3.938 kB / 410.7 MB, free: 9.621 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004748/0.006869, allocations: 345.5 kB / 411.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.00691, allocations: 12.03 kB / 411.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.006942, allocations: 38.69 kB / 411.1 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.006984, allocations: 8.891 kB / 411.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.007248, allocations: 146.2 kB / 411.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.007264, allocations: 384 / 411.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.007287, allocations: 12.12 kB / 411.3 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.007461, allocations: 109 kB / 411.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007471, allocations: 0 / 411.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.007481, allocations: 0 / 411.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.007487, allocations: 3.984 kB / 411.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.007566, allocations: 31.98 kB / 411.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.007913, allocations: 267.8 kB / 411.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.00807, allocations: 70.61 kB / 411.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.008109, allocations: 24.84 kB / 411.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.008123, allocations: 4 kB / 411.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.008249, allocations: 79.38 kB / 411.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.008251, allocations: 0 / 411.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004709/0.008721, allocations: 201.6 kB / 412 MB, free: 8.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.008766, allocations: 85.11 kB / 412.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.008891, allocations: 166.3 kB / 412.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.008905, allocations: 29.7 kB / 412.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.00895, allocations: 104.1 kB / 412.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.008979, allocations: 35.8 kB / 412.5 MB, free: 7.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.009013, allocations: 25.72 kB / 412.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.009091, allocations: 326.8 kB / 412.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.628e-05/0.009137, allocations: 23.98 kB / 412.8 MB, free: 7.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.0092, allocations: 72.27 kB / 412.9 MB, free: 7.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.009288, allocations: 73.73 kB / 413 MB, free: 7.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.00929, allocations: 4 kB / 413 MB, free: 7.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001454/0.009435, allocations: 125.4 kB / 413.1 MB, free: 7.008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.009451, allocations: 14.64 kB / 413.1 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.009457, allocations: 304 / 413.1 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.009471, allocations: 4 kB / 413.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.009546, allocations: 16 kB / 413.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.009554, allocations: 7.922 kB / 413.1 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.009595, allocations: 11.98 kB / 413.1 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.009601, allocations: 0 / 413.1 MB, free: 6.957 MB / 346.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 (11): * Single equations (assignments): 11 * 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 7.328e-05/0.009674, allocations: 117.8 kB / 413.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.009692, allocations: 15.91 kB / 413.3 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.0099, allocations: 146.5 kB / 413.4 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.009903, allocations: 0 / 413.4 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.009908, allocations: 7.938 kB / 413.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.009912, allocations: 0 / 413.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.01027, allocations: 386.4 kB / 413.8 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01027, allocations: 0 / 413.8 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.0103, allocations: 23.86 kB / 413.8 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01031, allocations: 3.938 kB / 413.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.01032, allocations: 8 kB / 413.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01032, allocations: 0 / 413.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01032, allocations: 0 / 413.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.01048, allocations: 232.2 kB / 414.1 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.01049, allocations: 15.89 kB / 414.1 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01051, allocations: 7.984 kB / 414.1 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.437e-05/0.01056, allocations: 4 kB / 414.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.01059, allocations: 15.91 kB / 414.1 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.01061, allocations: 8.188 kB / 414.1 MB, free: 5.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.186e-05/0.01068, allocations: 123.2 kB / 414.2 MB, free: 5.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01068, allocations: 3.938 kB / 414.2 MB, free: 5.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.01089, allocations: 43.86 kB / 414.3 MB, free: 5.73 MB / 346.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 (11): * Single equations (assignments): 9 * 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.001107/0.012, allocations: 1.191 MB / 415.5 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.01218, allocations: 79.84 kB / 415.6 MB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01218, allocations: 0 / 415.6 MB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.112e-05/0.01223, allocations: 35.97 kB / 415.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01248, allocations: 35.25 kB / 415.6 MB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.01405, allocations: 1.648 MB / 417.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.01412, allocations: 93.56 kB / 417.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.01419, allocations: 20.42 kB / 417.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.01425, allocations: 36.48 kB / 417.4 MB, free: 2.508 MB / 346.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01426, allocations: 3.938 kB / 417.4 MB, free: 2.504 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.03283, allocations: 4.632 MB / 422.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.604, allocations: 3.859 kB / 422.1 MB, free: 13.72 MB / 362.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.166755699552596]