Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0008771/0.0008771, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009476/0.0009476, 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.9467/0.9467, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2502/0.2502, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.007e-05, allocations: 2.844 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002448/0.002478, allocations: 1.59 MB / 441.2 MB, free: 2.617 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.003259, allocations: 0.5414 MB / 441.7 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.003323, allocations: 0 / 441.7 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.003519, allocations: 19.8 kB / 441.8 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.00382, allocations: 87.55 kB / 441.8 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.004112, allocations: 102.3 kB / 441.9 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.004256, allocations: 71.77 kB / 442 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.004359, allocations: 8 kB / 442 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.997e-05/0.004419, allocations: 31.91 kB / 442 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.004472, allocations: 23.92 kB / 442.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.004486, allocations: 0 / 442.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.378e-05/0.004559, allocations: 31.92 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.004607, allocations: 19.92 kB / 442.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.004634, allocations: 11.92 kB / 442.1 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004782, allocations: 75.73 kB / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004784, allocations: 3.938 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004785, allocations: 0 / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.00479, allocations: 7.938 kB / 442.2 MB, free: 1.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000398/0.005188, allocations: 309.9 kB / 442.5 MB, free: 1.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.00523, allocations: 12.03 kB / 442.5 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.005262, allocations: 30.75 kB / 442.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.005289, allocations: 8.891 kB / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.005435, allocations: 133.7 kB / 442.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-06/0.005444, allocations: 384 / 442.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.005467, allocations: 8.375 kB / 442.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.005593, allocations: 42.25 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.005605, allocations: 192 / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.005618, allocations: 7.938 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005623, allocations: 7.922 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/0.005686, allocations: 27.97 kB / 442.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.006013, allocations: 248 kB / 443 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.006203, allocations: 50.48 kB / 443.1 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.006236, allocations: 16.8 kB / 443.1 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.006258, allocations: 0 / 443.1 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.006278, allocations: 38.64 kB / 443.1 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.006279, allocations: 0 / 443.1 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004354/0.006715, allocations: 153.4 kB / 443.3 MB, free: 384 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.006745, allocations: 51.41 kB / 443.3 MB, free: 320 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006852, allocations: 152.7 kB / 443.5 MB, free: 156 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.006872, allocations: 25.7 kB / 443.5 MB, free: 124 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.006915, allocations: 100.1 kB / 443.6 MB, free: 20 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.006936, allocations: 19.84 kB / 443.6 MB, free: 0 / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.007008, allocations: 15.61 kB / 443.6 MB, free: 46.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.007057, allocations: 324 kB / 444 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.007153, allocations: 22.67 kB / 444 MB, free: 46.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.186e-05/0.007194, allocations: 25.09 kB / 444 MB, free: 46.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.404e-05/0.007278, allocations: 51.11 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007281, allocations: 5.719 kB / 444.1 MB, free: 46.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001392/0.00742, allocations: 84.27 kB / 444.1 MB, free: 46.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.007437, allocations: 7.5 kB / 444.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.007443, allocations: 0 / 444.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.00746, allocations: 0 / 444.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.00752, allocations: 16.48 kB / 444.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.007526, allocations: 1.969 kB / 444.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.007554, allocations: 9.406 kB / 444.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.007561, allocations: 0 / 444.2 MB, free: 46.01 MB / 410.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.704e-05/0.007618, allocations: 122.2 kB / 444.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.007636, allocations: 10.25 kB / 444.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.007815, allocations: 93.31 kB / 444.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.007818, allocations: 4.281 kB / 444.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.007823, allocations: 5.094 kB / 444.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.007827, allocations: 0 / 444.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.00812, allocations: 316.2 kB / 444.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.008123, allocations: 6.5 kB / 444.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.008161, allocations: 11.98 kB / 444.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.008166, allocations: 7.953 kB / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.008175, allocations: 0.5 kB / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.008177, allocations: 0 / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.008179, allocations: 3.281 kB / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.0083, allocations: 186.2 kB / 444.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.008311, allocations: 6.828 kB / 444.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.008324, allocations: 8.656 kB / 444.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.008361, allocations: 7.438 kB / 445 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.008389, allocations: 3.219 kB / 445 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.008393, allocations: 6.047 kB / 445 MB, free: 45.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.708e-05/0.008441, allocations: 119.3 kB / 445.1 MB, free: 45.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008441, allocations: 0 / 445.1 MB, free: 45.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.008608, allocations: 17.98 kB / 445.1 MB, free: 45.39 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: 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.0008188/0.009426, allocations: 1.045 MB / 446.1 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.009569, allocations: 52.33 kB / 446.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.009571, allocations: 0 / 446.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.009609, allocations: 23.95 kB / 446.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.00991, allocations: 25.19 kB / 446.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.0109, allocations: 1.47 MB / 447.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.854e-05/0.01095, allocations: 82.02 kB / 447.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.011, allocations: 13.92 kB / 447.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.01105, allocations: 27.2 kB / 447.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01105, allocations: 0 / 447.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.02827, allocations: 3.285 MB / 451.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/6.813, allocations: 5.906 kB / 451.1 MB, free: 42.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.226787656545639]