Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.002041/0.002041, allocations: 112.4 kB / 20.48 MB, free: 1.27 MB / 14.72 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.002416/0.002416, allocations: 212.5 kB / 23.77 MB, free: 4.449 MB / 14.72 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 1.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] 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.2423/0.2423, allocations: 46.95 MB / 360.8 MB, free: 3.863 MB / 286.1 MB " [Timeout remaining time 179] 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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 79.86 kB / 0.4962 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4333, allocations: 66.08 MB / 0.5608 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003091/0.4364, allocations: 1.613 MB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.4375, allocations: 0.5304 MB / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.4376, allocations: 0 / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.4379, allocations: 111.6 kB / 0.563 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.4382, allocations: 123.6 kB / 0.5631 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.4385, allocations: 119.2 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.4387, allocations: 83.81 kB / 0.5633 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4388, allocations: 17.81 kB / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.4389, allocations: 39.84 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.439, allocations: 75.78 kB / 0.5634 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.439, allocations: 3.938 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.4391, allocations: 51.97 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.4392, allocations: 27.86 kB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.4393, allocations: 23.81 kB / 0.5635 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.4395, allocations: 119.4 kB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4395, allocations: 0 / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4395, allocations: 0 / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4395, allocations: 0 / 0.5636 GB, free: 1.035 MB / 398.1 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.0005445/0.44, allocations: 357.4 kB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4401, allocations: 12.03 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.4401, allocations: 34.75 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.4401, allocations: 8.891 kB / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.4404, allocations: 167 kB / 0.5642 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4404, allocations: 384 / 0.5642 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.4404, allocations: 8.375 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.4406, allocations: 50.23 kB / 0.5642 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.4406, allocations: 7.891 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4406, allocations: 8 kB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4406, allocations: 0 / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.4407, allocations: 35.91 kB / 0.5643 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.4411, allocations: 267.9 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.4413, allocations: 50.55 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.4413, allocations: 16.86 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.4413, allocations: 7.938 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4414, allocations: 38.58 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4414, allocations: 0 / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009496/0.4423, allocations: 245.1 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.4424, allocations: 55.41 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.4426, allocations: 251 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4427, allocations: 25.7 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.4427, allocations: 112.1 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.4428, allocations: 31.73 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.4428, allocations: 17.72 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.443, allocations: 326.8 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.4431, allocations: 31.97 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.4431, allocations: 35.98 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.4433, allocations: 85.03 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4433, allocations: 0 / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002317/0.4435, allocations: 109.6 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4436, allocations: 4 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4436, allocations: 4 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4436, allocations: 0 / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.4437, allocations: 19.98 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4437, allocations: 3.938 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.4437, allocations: 11.98 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.4437, allocations: 7.938 kB / 0.566 GB, free: 14.43 MB / 414.1 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 (8): * Single equations (assignments): 8 * 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.0001269/0.4439, allocations: 133.8 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.4439, allocations: 15.91 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.4443, allocations: 127 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4443, allocations: 0 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4443, allocations: 432 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.4443, allocations: 8 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007702/0.445, allocations: 390.3 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.445, allocations: 4 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.4451, allocations: 15.98 kB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4451, allocations: 0 / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.4451, allocations: 15.86 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4451, allocations: 4 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4451, allocations: 3.984 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.4456, allocations: 220.3 kB / 0.5669 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.4456, allocations: 7.953 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.4456, allocations: 3.938 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.4457, allocations: 11.98 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.4458, allocations: 4 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.4458, allocations: 3.984 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.446, allocations: 187.2 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.446, allocations: 3.938 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.4462, allocations: 23.94 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002499/0.4487, allocations: 1.127 MB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.449, allocations: 79.89 kB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.449, allocations: 0 / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.4491, allocations: 35.92 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.4495, allocations: 27.42 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.4519, allocations: 1.803 MB / 0.5701 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.452, allocations: 101.8 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.4521, allocations: 24.94 kB / 0.5702 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.4521, allocations: 35.42 kB / 0.5702 GB, free: 9.992 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4521, allocations: 4 kB / 0.5703 GB, free: 9.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.483, allocations: 3.966 MB / 0.5741 GB, free: 6.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.58, allocations: 10.97 kB / 0.5741 GB, free: 6.023 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.86916916098562]