Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0008967/0.0008967, 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.000953/0.000953, 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.9181/0.9181, allocations: 158.6 MB / 185 MB, free: 3.035 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.1461/0.1461, allocations: 32.38 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.959e-05, allocations: 2.281 kB / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003032/0.003052, allocations: 1.603 MB / 408.5 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.003809, allocations: 343.3 kB / 408.8 MB, free: 276 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.003867, allocations: 7.938 kB / 408.8 MB, free: 268 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.004446, allocations: 459.1 kB / 409.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.004818, allocations: 251.4 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.005198, allocations: 163.5 kB / 409.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.005436, allocations: 167.6 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.005531, allocations: 11.97 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.005693, allocations: 119.8 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.005946, allocations: 239.6 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.005965, allocations: 4 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.006048, allocations: 35.94 kB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.996e-05/0.006138, allocations: 91.7 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.006184, allocations: 43.67 kB / 410.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.006471, allocations: 247 kB / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006474, allocations: 3.984 kB / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006475, allocations: 0 / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.00648, allocations: 0 / 410.6 MB, free: 14.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006351/0.007115, allocations: 0.5777 MB / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.007154, allocations: 8.031 kB / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.007185, allocations: 34.75 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.007241, allocations: 52.61 kB / 411.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.007485, allocations: 250 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.007497, allocations: 4.375 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.007514, allocations: 4.375 kB / 411.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.007648, allocations: 58.23 kB / 411.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007658, allocations: 4.188 kB / 411.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.007667, allocations: 3.938 kB / 411.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.007671, allocations: 0 / 411.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.00778, allocations: 39.95 kB / 411.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.008248, allocations: 375.7 kB / 412 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.008349, allocations: 42.55 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.008406, allocations: 28.92 kB / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.00843, allocations: 0 / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.008456, allocations: 42.56 kB / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.008457, allocations: 3.938 kB / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004833/0.00894, allocations: 308.7 kB / 412.4 MB, free: 12.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.008967, allocations: 55.39 kB / 412.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.00948, allocations: 0.8613 MB / 413.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.009491, allocations: 29.7 kB / 413.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.009598, allocations: 216 kB / 413.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.009618, allocations: 19.8 kB / 413.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.009649, allocations: 29.7 kB / 413.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.009756, allocations: 362.7 kB / 414 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.009814, allocations: 35.97 kB / 414 MB, free: 10.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.009871, allocations: 43.95 kB / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.009985, allocations: 85.02 kB / 414.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.009986, allocations: 4 kB / 414.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001591/0.01014, allocations: 157.4 kB / 414.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.01015, allocations: 4 kB / 414.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01016, allocations: 3.984 kB / 414.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.01017, allocations: 0 / 414.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.01023, allocations: 23.92 kB / 414.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01023, allocations: 0 / 414.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.01027, allocations: 15.98 kB / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.01028, allocations: 3.938 kB / 414.3 MB, free: 10.52 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 (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 0.0001256/0.0104, allocations: 217.7 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.01043, allocations: 43.67 kB / 414.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.01063, allocations: 185.5 kB / 414.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.01064, allocations: 0 / 414.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.01064, allocations: 0 / 414.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01064, allocations: 0 / 414.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.01101, allocations: 489.4 kB / 415.2 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.01101, allocations: 0 / 415.2 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.01105, allocations: 19.98 kB / 415.3 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01105, allocations: 0 / 415.3 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.01106, allocations: 0 / 415.3 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01106, allocations: 0 / 415.3 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01106, allocations: 3.938 kB / 415.3 MB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.01124, allocations: 263.1 kB / 415.5 MB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.01127, allocations: 43.7 kB / 415.6 MB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.01128, allocations: 4 kB / 415.6 MB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.01134, allocations: 8 kB / 415.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.01137, allocations: 7.922 kB / 415.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.01137, allocations: 8 kB / 415.6 MB, free: 9.176 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003801/0.01175, allocations: 0.655 MB / 416.3 MB, free: 8.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01175, allocations: 4 kB / 416.3 MB, free: 8.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.01192, allocations: 23.94 kB / 416.3 MB, free: 8.496 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 (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 Backend phase and start with SimCode phase: time 0.0009374/0.01285, allocations: 1.109 MB / 417.4 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.01302, allocations: 87.91 kB / 417.5 MB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01302, allocations: 0 / 417.5 MB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.01308, allocations: 47.91 kB / 417.5 MB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.01334, allocations: 37.77 kB / 417.6 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.01578, allocations: 3.347 MB / 420.9 MB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.01591, allocations: 220.1 kB / 421.1 MB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.01595, allocations: 16.72 kB / 421.1 MB, free: 3.531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.022e-05/0.01605, allocations: 120.5 kB / 421.3 MB, free: 3.414 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01605, allocations: 4 kB / 421.3 MB, free: 3.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.03295, allocations: 6.883 MB / 428.1 MB, free: 12.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.136, allocations: 3.953 kB / 428.1 MB, free: 12.39 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.366553797386587]