Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0009026/0.0009026, allocations: 96.27 kB / 20.96 MB, free: 3.473 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.0009279/0.0009279, allocations: 160.9 kB / 24.26 MB, free: 172 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 0.8761/0.8761, allocations: 177 MB / 204.5 MB, free: 5.617 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.2331/0.2331, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 376.7 MB, free: 3.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.996e-05, allocations: 2.312 kB / 376.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002454/0.002474, allocations: 1.66 MB / 378.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.003149, allocations: 0.5407 MB / 378.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.003201, allocations: 0 / 378.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.003616, allocations: 455 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.003979, allocations: 295.2 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.004248, allocations: 123.7 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.004467, allocations: 171.6 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.004567, allocations: 15.97 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.004684, allocations: 115.8 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.00489, allocations: 239.6 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.004906, allocations: 8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.00499, allocations: 39.86 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.005075, allocations: 79.72 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.005114, allocations: 43.72 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.005337, allocations: 235.1 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.005346, allocations: 7.938 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.005348, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005353, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.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.0005127/0.005865, allocations: 0.5853 MB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.005902, allocations: 8.031 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.00593, allocations: 34.75 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.00598, allocations: 48.66 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.006168, allocations: 246 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.006176, allocations: 384 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.006196, allocations: 4.375 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.006322, allocations: 54.23 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.006332, allocations: 4.172 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.006339, allocations: 384 / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.006347, allocations: 4.125 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.655e-05/0.006404, allocations: 31.92 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.006765, allocations: 359.8 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.006938, allocations: 42.5 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.006966, allocations: 16.94 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.006986, allocations: 3.938 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.007002, allocations: 34.56 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.007003, allocations: 4 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004395/0.007443, allocations: 236.7 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.007469, allocations: 51.41 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.007988, allocations: 0.8738 MB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.007999, allocations: 25.7 kB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.008111, allocations: 228 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.008129, allocations: 19.83 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.008155, allocations: 13.72 kB / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.008251, allocations: 362.8 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.008293, allocations: 19.92 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.008326, allocations: 27.97 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/0.008398, allocations: 44.78 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.008399, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000124/0.008523, allocations: 125.3 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.008535, allocations: 4 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.00854, allocations: 0 / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.008553, allocations: 4 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.174e-05/0.008595, allocations: 12.27 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.0086, allocations: 4 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.008633, allocations: 4 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.008639, allocations: 4 kB / 384.2 MB, free: 11.66 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.000125/0.008764, allocations: 217.7 kB / 384.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.009037, allocations: 47.67 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.009217, allocations: 137.2 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.009221, allocations: 4 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.009225, allocations: 320 / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009229, allocations: 7.984 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.009554, allocations: 429.6 kB / 385 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009556, allocations: 0 / 385 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.009586, allocations: 15.98 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.009589, allocations: 3.938 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.009596, allocations: 0 / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.009598, allocations: 3.984 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009599, allocations: 0 / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.009728, allocations: 219.2 kB / 385.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.009756, allocations: 43.66 kB / 385.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.009773, allocations: 4 kB / 385.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.009816, allocations: 4 kB / 385.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.009844, allocations: 3.984 kB / 385.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.009848, allocations: 4 kB / 385.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003698/0.01022, allocations: 0.6628 MB / 386 MB, free: 9.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01022, allocations: 0 / 386 MB, free: 9.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.01039, allocations: 27.94 kB / 386 MB, free: 9.77 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.0008856/0.01128, allocations: 1.063 MB / 387.1 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.01139, allocations: 43.97 kB / 387.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0114, allocations: 0 / 387.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.01143, allocations: 27.92 kB / 387.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.01172, allocations: 30.23 kB / 387.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.01408, allocations: 3.269 MB / 390.5 MB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.01423, allocations: 216.1 kB / 390.7 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.813e-05/0.01426, allocations: 8 kB / 390.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.999e-05/0.01435, allocations: 108.5 kB / 390.8 MB, free: 5.023 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01436, allocations: 4 kB / 390.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.03464, allocations: 6.825 MB / 397.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.029, allocations: 3.75 kB / 397.6 MB, free: 14.18 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.954298550263047]