Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001096/0.001096, 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.002054/0.002054, allocations: 169.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 0.9138/0.9138, allocations: 158.6 MB / 185 MB, free: 3.039 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.1326/0.1326, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 406.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.023e-05, allocations: 6.078 kB / 406.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002117/0.002137, allocations: 1.557 MB / 408.4 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000479/0.002616, allocations: 307.5 kB / 408.7 MB, free: 360 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.002672, allocations: 0 / 408.7 MB, free: 360 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.002936, allocations: 79.7 kB / 408.8 MB, free: 280 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.003134, allocations: 67.67 kB / 408.8 MB, free: 212 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.003355, allocations: 79.66 kB / 408.9 MB, free: 132 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.003506, allocations: 71.81 kB / 409 MB, free: 60 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.0036, allocations: 8 kB / 409 MB, free: 52 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.003664, allocations: 43.88 kB / 409 MB, free: 8 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.003766, allocations: 47.89 kB / 409.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.003781, allocations: 4 kB / 409.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.003846, allocations: 35.91 kB / 409.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.00389, allocations: 15.94 kB / 409.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.003916, allocations: 15.92 kB / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.004053, allocations: 83.66 kB / 409.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004055, allocations: 0 / 409.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.004056, allocations: 3.938 kB / 409.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.00406, allocations: 4 kB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003698/0.00443, allocations: 333.8 kB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.004465, allocations: 8.031 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/0.004492, allocations: 30.75 kB / 409.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.004515, allocations: 8.891 kB / 409.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.004639, allocations: 138.2 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.004646, allocations: 384 / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.004664, allocations: 12.31 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.00477, allocations: 50.19 kB / 409.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.004782, allocations: 4.172 kB / 409.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.004791, allocations: 7.938 kB / 409.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.004796, allocations: 0 / 409.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.00485, allocations: 19.98 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.005139, allocations: 244 kB / 410.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.005316, allocations: 46.44 kB / 410.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.005347, allocations: 20.94 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.005368, allocations: 0 / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.005384, allocations: 38.56 kB / 410.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.005385, allocations: 0 / 410.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003772/0.005762, allocations: 153.3 kB / 410.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.005791, allocations: 51.41 kB / 410.4 MB, free: 14.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.005923, allocations: 206.2 kB / 410.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.005935, allocations: 25.7 kB / 410.6 MB, free: 14.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.00598, allocations: 108.1 kB / 410.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.005997, allocations: 11.91 kB / 410.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.006024, allocations: 21.7 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.006107, allocations: 322.8 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.006144, allocations: 23.98 kB / 411.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.006172, allocations: 11.98 kB / 411.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.01e-05/0.006242, allocations: 48.83 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006243, allocations: 0 / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.85e-05/0.006342, allocations: 81.56 kB / 411.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.006353, allocations: 4 kB / 411.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.006358, allocations: 8 kB / 411.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.00637, allocations: 3.984 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.006477, allocations: 8 kB / 411.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.006482, allocations: 0 / 411.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.006503, allocations: 7.984 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.006509, allocations: 4 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.845e-05/0.006567, allocations: 125.8 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.006584, allocations: 11.91 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.006715, allocations: 109.9 kB / 411.5 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.006717, allocations: 7.938 kB / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.006722, allocations: 320 / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.006725, allocations: 0 / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.006962, allocations: 313.6 kB / 411.8 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006963, allocations: 0 / 411.8 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.006989, allocations: 15.92 kB / 411.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.006991, allocations: 0 / 411.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.007003, allocations: 4 kB / 411.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007005, allocations: 4 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007006, allocations: 0 / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.007117, allocations: 179.4 kB / 412 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.007126, allocations: 11.91 kB / 412 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.007136, allocations: 0 / 412 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.007169, allocations: 8 kB / 412 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.007198, allocations: 3.984 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.007202, allocations: 7.938 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.007277, allocations: 156.1 kB / 412.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007277, allocations: 4 kB / 412.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.007434, allocations: 12 kB / 412.2 MB, free: 12.55 MB / 394.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008666/0.0083, allocations: 1.035 MB / 413.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.008414, allocations: 39.97 kB / 413.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008415, allocations: 0 / 413.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.008451, allocations: 31.92 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.008695, allocations: 19.92 kB / 413.4 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.009976, allocations: 1.554 MB / 414.9 MB, free: 9.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.01004, allocations: 89.05 kB / 415 MB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.566e-05/0.01007, allocations: 15.77 kB / 415 MB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.01012, allocations: 28.5 kB / 415 MB, free: 9.645 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01012, allocations: 0 / 415 MB, free: 9.645 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.02611, allocations: 3.441 MB / 418.5 MB, free: 6.074 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/7.024, allocations: 4 kB / 418.5 MB, free: 6.07 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.209278807975352]