Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008569/0.0008569, allocations: 80.34 kB / 20.66 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008948/0.0008948, allocations: 168.9 kB / 23.94 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8983/0.8983, allocations: 177.1 MB / 204.2 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 34.24 MB / 294.9 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 79.88 kB / 442.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2433, allocations: 66.05 MB / 0.4964 GB, free: 9.793 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002115/0.2454, allocations: 1.595 MB / 0.498 GB, free: 8.559 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006121/0.246, allocations: 0.5275 MB / 0.4985 GB, free: 8.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.246, allocations: 0 / 0.4985 GB, free: 8.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2462, allocations: 28.97 kB / 0.4985 GB, free: 8.156 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.2465, allocations: 75.91 kB / 0.4986 GB, free: 8.105 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.2467, allocations: 119.5 kB / 0.4987 GB, free: 8.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.2468, allocations: 66.44 kB / 0.4988 GB, free: 7.988 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.2469, allocations: 11.56 kB / 0.4988 GB, free: 7.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.247, allocations: 31.08 kB / 0.4988 GB, free: 7.961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.247, allocations: 15.2 kB / 0.4989 GB, free: 7.953 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.247, allocations: 2.406 kB / 0.4989 GB, free: 7.953 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.2471, allocations: 37.19 kB / 0.4989 GB, free: 7.938 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.2471, allocations: 12.09 kB / 0.4989 GB, free: 7.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.2472, allocations: 20.33 kB / 0.4989 GB, free: 7.914 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.2473, allocations: 78.38 kB / 0.499 GB, free: 7.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2473, allocations: 0 / 0.499 GB, free: 7.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2473, allocations: 0 / 0.499 GB, free: 7.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2473, allocations: 5.125 kB / 0.499 GB, free: 7.863 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.000317/0.2476, allocations: 306.9 kB / 0.4993 GB, free: 7.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2477, allocations: 10.19 kB / 0.4993 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.893e-05/0.2477, allocations: 31.84 kB / 0.4993 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.2477, allocations: 12.27 kB / 0.4993 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2478, allocations: 135.3 kB / 0.4995 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.2479, allocations: 1.469 kB / 0.4995 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.2479, allocations: 10.48 kB / 0.4995 GB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.248, allocations: 45.31 kB / 0.4995 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.2481, allocations: 192 / 0.4995 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2481, allocations: 384 / 0.4995 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2481, allocations: 5.219 kB / 0.4995 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.2481, allocations: 29.84 kB / 0.4996 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.2484, allocations: 243.4 kB / 0.4998 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.2485, allocations: 48.77 kB / 0.4998 GB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.2485, allocations: 15.33 kB / 0.4999 GB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2486, allocations: 9.062 kB / 0.4999 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.123e-05/0.2486, allocations: 39.86 kB / 0.4999 GB, free: 6.926 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.2486, allocations: 0 / 0.4999 GB, free: 6.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003568/0.2489, allocations: 146.7 kB / 0.5 GB, free: 6.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.2489, allocations: 56.58 kB / 0.5001 GB, free: 6.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.249, allocations: 151.3 kB / 0.5002 GB, free: 6.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-06/0.249, allocations: 31.61 kB / 0.5003 GB, free: 6.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.2491, allocations: 102.5 kB / 0.5004 GB, free: 6.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.2491, allocations: 18.69 kB / 0.5004 GB, free: 6.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.2491, allocations: 18.06 kB / 0.5004 GB, free: 6.477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.682e-05/0.2491, allocations: 317.8 kB / 0.5007 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.2492, allocations: 18.92 kB / 0.5007 GB, free: 6.152 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.2492, allocations: 20.11 kB / 0.5007 GB, free: 6.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.2493, allocations: 59.59 kB / 0.5008 GB, free: 6.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2493, allocations: 5.094 kB / 0.5008 GB, free: 6.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.417e-05/0.2494, allocations: 90.72 kB / 0.5009 GB, free: 6.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2494, allocations: 5.781 kB / 0.5009 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2494, allocations: 0 / 0.5009 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2494, allocations: 5.203 kB / 0.5009 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.672e-05/0.2494, allocations: 9.688 kB / 0.5009 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2494, allocations: 0 / 0.5009 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.2494, allocations: 7.266 kB / 0.5009 GB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2494, allocations: 5.062 kB / 0.5009 GB, free: 6.031 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 4.355e-05/0.2495, allocations: 120 kB / 0.501 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.2495, allocations: 15.61 kB / 0.5011 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.2496, allocations: 101.3 kB / 0.5012 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2496, allocations: 0.8125 kB / 0.5012 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2496, allocations: 0 / 0.5012 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2497, allocations: 1.125 kB / 0.5012 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.2499, allocations: 314.2 kB / 0.5015 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2499, allocations: 5.281 kB / 0.5015 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.2499, allocations: 13.05 kB / 0.5015 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2499, allocations: 1.188 kB / 0.5015 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2499, allocations: 4 kB / 0.5015 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.2499, allocations: 1.469 kB / 0.5015 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2499, allocations: 4 kB / 0.5015 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.25, allocations: 187.5 kB / 0.5017 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.25, allocations: 6.016 kB / 0.5017 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.25, allocations: 1.094 kB / 0.5017 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.2501, allocations: 7.281 kB / 0.5017 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.2501, allocations: 6.234 kB / 0.5017 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.2501, allocations: 5.656 kB / 0.5017 GB, free: 5.316 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.715e-05/0.2502, allocations: 118.8 kB / 0.5018 GB, free: 5.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2502, allocations: 0 / 0.5018 GB, free: 5.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.2504, allocations: 22.48 kB / 0.5018 GB, free: 5.211 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.0007588/0.2511, allocations: 1.043 MB / 0.5028 GB, free: 4.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.2512, allocations: 56.95 kB / 0.5029 GB, free: 4.352 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.2512, allocations: 0 / 0.5029 GB, free: 4.352 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.2513, allocations: 28.11 kB / 0.5029 GB, free: 4.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.2515, allocations: 17.48 kB / 0.5029 GB, free: 4.332 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008113/0.2523, allocations: 1.461 MB / 0.5044 GB, free: 3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.2524, allocations: 84.53 kB / 0.5044 GB, free: 2.914 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.108e-05/0.2524, allocations: 20.05 kB / 0.5045 GB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.2524, allocations: 23.97 kB / 0.5045 GB, free: 2.883 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2524, allocations: 1.531 kB / 0.5045 GB, free: 2.883 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.2657, allocations: 3.26 MB / 0.5077 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.964, allocations: 5.219 kB / 0.5077 GB, free: 0.7344 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.026939042843878]