Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001161/0.001161, allocations: 92.31 kB / 20.95 MB, free: 3.602 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.001151/0.001151, allocations: 164.9 kB / 24.26 MB, free: 296 kB / 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 1.04/1.04, allocations: 177 MB / 204.5 MB, free: 5.59 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.3029/0.3029, allocations: 34.25 MB / 295.2 MB, free: 0.6602 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 376.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.47e-05, allocations: 4.703 kB / 376.7 MB, free: 3.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00268/0.002694, allocations: 1.595 MB / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.003636, allocations: 0.5215 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.003712, allocations: 0 / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.004114, allocations: 31.78 kB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.004438, allocations: 83.56 kB / 378.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.004776, allocations: 111.6 kB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.004919, allocations: 67.72 kB / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.005013, allocations: 11.84 kB / 379.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.919e-05/0.005072, allocations: 27.92 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.005131, allocations: 23.91 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.005148, allocations: 4 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.438e-05/0.005222, allocations: 31.94 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.005281, allocations: 11.92 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.005312, allocations: 15.98 kB / 379.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.005579, allocations: 83.66 kB / 379.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.005583, allocations: 3.938 kB / 379.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005584, allocations: 0 / 379.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.005597, allocations: 0 / 379.3 MB, free: 0.7734 MB / 346.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.0006377/0.006234, allocations: 305.9 kB / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.984e-05/0.006304, allocations: 8.031 kB / 379.6 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.006346, allocations: 34.75 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.006399, allocations: 8.891 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.006606, allocations: 137.6 kB / 379.8 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.00662, allocations: 4.375 kB / 379.8 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.006648, allocations: 4.359 kB / 379.8 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.00681, allocations: 58.17 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.006824, allocations: 192 / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.006834, allocations: 384 / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.00685, allocations: 12.12 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.976e-05/0.00692, allocations: 19.98 kB / 379.9 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.007327, allocations: 248 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.007589, allocations: 42.5 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.007636, allocations: 24.94 kB / 380.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.007675, allocations: 3.938 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.007701, allocations: 34.56 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.007702, allocations: 0 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004756/0.008177, allocations: 149.4 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.008227, allocations: 55.41 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.008396, allocations: 153.4 kB / 380.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.008414, allocations: 29.7 kB / 380.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.008479, allocations: 100 kB / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.0085, allocations: 19.84 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.008532, allocations: 17.72 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.008626, allocations: 318.8 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.526e-05/0.008672, allocations: 19.98 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.008708, allocations: 23.98 kB / 381.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.988e-05/0.008788, allocations: 52.77 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.008789, allocations: 4 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001216/0.00891, allocations: 93.55 kB / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.008927, allocations: 4 kB / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.008933, allocations: 0 / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.008948, allocations: 0 / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.57e-05/0.008994, allocations: 15.98 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.009, allocations: 0 / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.009021, allocations: 4 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.009026, allocations: 4 kB / 381.3 MB, free: 14.61 MB / 362.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 0.0001014/0.009127, allocations: 125.8 kB / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.009155, allocations: 15.89 kB / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.00941, allocations: 90.44 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.009413, allocations: 7.984 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.009418, allocations: 0 / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.009423, allocations: 4 kB / 381.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.009698, allocations: 317.5 kB / 381.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.009701, allocations: 3.984 kB / 381.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.009734, allocations: 12 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.009736, allocations: 0 / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.009745, allocations: 4 kB / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.009747, allocations: 0 / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.009749, allocations: 0 / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.009921, allocations: 187.4 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.009934, allocations: 7.938 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.009952, allocations: 4 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.01, allocations: 4 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.01005, allocations: 16.2 kB / 382.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.01005, allocations: 0 / 382.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.809e-05/0.01012, allocations: 111.3 kB / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01012, allocations: 3.938 kB / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00018/0.0103, allocations: 23.92 kB / 382.2 MB, free: 13.61 MB / 362.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.001288/0.01159, allocations: 1.04 MB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.01175, allocations: 51.91 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.01175, allocations: 0 / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.01179, allocations: 23.98 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.01206, allocations: 19.97 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.01341, allocations: 1.491 MB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.274e-05/0.01348, allocations: 79.31 kB / 384.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.01353, allocations: 11.94 kB / 384.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.01359, allocations: 28.48 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01359, allocations: 0 / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.03324, allocations: 3.333 MB / 388.3 MB, free: 7.555 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/7.584, allocations: 0 / 388.3 MB, free: 7.555 MB / 362.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_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_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.937266074120998]