Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.0009025/0.0009025, allocations: 96.27 kB / 20.96 MB, free: 3.477 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.0008968/0.0008968, allocations: 156.9 kB / 24.26 MB, free: 180 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.957/0.957, allocations: 177 MB / 204.5 MB, free: 5.605 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.2879/0.2879, allocations: 34.25 MB / 295.2 MB, free: 0.6641 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.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 376.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.063e-05, allocations: 2.312 kB / 376.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002114/0.002134, allocations: 1.617 MB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007069/0.002841, allocations: 0.5252 MB / 378.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.002899, allocations: 4 kB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.00317, allocations: 123.6 kB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.003459, allocations: 123.5 kB / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.003737, allocations: 99.56 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.004028, allocations: 99.8 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.004141, allocations: 11.98 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.004217, allocations: 59.8 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.004332, allocations: 83.89 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.00435, allocations: 7.938 kB / 379.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.004449, allocations: 43.92 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.004549, allocations: 27.92 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.004583, allocations: 15.92 kB / 379.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.004839, allocations: 123.5 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004842, allocations: 4 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.004843, allocations: 0 / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.004849, allocations: 4 kB / 379.7 MB, free: 456 kB / 346.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.0004143/0.005263, allocations: 357.4 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.005302, allocations: 8.031 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.005332, allocations: 38.75 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.005387, allocations: 17.45 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.005548, allocations: 157.4 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.005558, allocations: 384 / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.005579, allocations: 8.375 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.005702, allocations: 50.25 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.005713, allocations: 192 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005723, allocations: 384 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005729, allocations: 3.562 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.938e-05/0.005788, allocations: 27.97 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.006112, allocations: 275.8 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.0062, allocations: 42.56 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.006233, allocations: 16.84 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.006251, allocations: 0 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.006282, allocations: 42.66 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.006284, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008702/0.007154, allocations: 237.1 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.007192, allocations: 55.41 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.007491, allocations: 283.8 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.00751, allocations: 25.7 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.007583, allocations: 116.1 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.007612, allocations: 23.78 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.007654, allocations: 21.72 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.007765, allocations: 330.8 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.007833, allocations: 23.98 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.007888, allocations: 23.97 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.008022, allocations: 72.98 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008024, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001395/0.008163, allocations: 117.5 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.008178, allocations: 4 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.008183, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.008195, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.008277, allocations: 19.98 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.008283, allocations: 0 / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.00831, allocations: 11.98 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.008317, allocations: 4 kB / 382.1 MB, free: 13.88 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 (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 7.468e-05/0.008391, allocations: 137.8 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.008413, allocations: 15.91 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.008597, allocations: 123 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.008601, allocations: 0 / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.008607, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008611, allocations: 0 / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.009092, allocations: 378.3 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.009094, allocations: 0 / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.009156, allocations: 19.98 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.009159, allocations: 0 / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.009169, allocations: 4 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.009173, allocations: 3.938 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.009176, allocations: 4 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.009394, allocations: 208.2 kB / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.009413, allocations: 11.91 kB / 382.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.009434, allocations: 8.031 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.009501, allocations: 11.92 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.009535, allocations: 8 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.00954, allocations: 0 / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.009712, allocations: 208.2 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009712, allocations: 0 / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.01003, allocations: 23.94 kB / 383.2 MB, free: 12.65 MB / 362.7 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.00148/0.01151, allocations: 1.116 MB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.01171, allocations: 75.81 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01171, allocations: 0 / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.01178, allocations: 31.98 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.01221, allocations: 26.12 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.01431, allocations: 1.827 MB / 386.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.01442, allocations: 109.2 kB / 386.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.804e-05/0.01449, allocations: 17.02 kB / 386.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.01457, allocations: 40.42 kB / 386.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.01457, allocations: 0 / 386.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.03335, allocations: 4.185 MB / 390.6 MB, free: 5.258 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.08, allocations: 12.03 kB / 390.6 MB, free: 5.246 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.184378236532211]