Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009399/0.0009399, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.88/0.88, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.239e-05, allocations: 2.281 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001819/0.001831, allocations: 1.612 MB / 441.2 MB, free: 2.602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006276/0.002459, allocations: 0.5414 MB / 441.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.002509, allocations: 3.938 kB / 441.8 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.002725, allocations: 75.7 kB / 441.8 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.002953, allocations: 111.5 kB / 441.9 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.00316, allocations: 117 kB / 442.1 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.003285, allocations: 83.75 kB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.003372, allocations: 15.98 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.003433, allocations: 47.83 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.003518, allocations: 47.94 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.003532, allocations: 7.984 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.517e-05/0.003608, allocations: 43.92 kB / 442.3 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.003652, allocations: 31.8 kB / 442.3 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.003674, allocations: 7.938 kB / 442.3 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.003813, allocations: 115.5 kB / 442.5 MB, free: 1.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003815, allocations: 4 kB / 442.5 MB, free: 1.359 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003816, allocations: 0 / 442.5 MB, free: 1.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.003819, allocations: 0 / 442.5 MB, free: 1.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003254/0.004145, allocations: 337.6 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.004177, allocations: 12.03 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.747e-05/0.004205, allocations: 38.73 kB / 442.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.004229, allocations: 12.84 kB / 442.8 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.004354, allocations: 138.3 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.004361, allocations: 4.375 kB / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.004377, allocations: 384 / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.004481, allocations: 70.16 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.004489, allocations: 192 / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004501, allocations: 3.938 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004506, allocations: 3.984 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.004563, allocations: 27.97 kB / 443.1 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.004836, allocations: 263.9 kB / 443.3 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.004905, allocations: 46.48 kB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.004931, allocations: 16.86 kB / 443.4 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.00495, allocations: 4 kB / 443.4 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.00497, allocations: 38.64 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004971, allocations: 0 / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.1523/0.1573, allocations: 235.2 kB / 443.7 MB, free: 46.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1573, allocations: 54.38 kB / 443.7 MB, free: 46.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1575, allocations: 213.2 kB / 443.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1575, allocations: 26.27 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.1575, allocations: 107 kB / 444.1 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1576, allocations: 30.02 kB / 444.1 MB, free: 46.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1576, allocations: 22.78 kB / 444.1 MB, free: 46.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.374e-05/0.1576, allocations: 329.9 kB / 444.4 MB, free: 45.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.1577, allocations: 31.41 kB / 444.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.1577, allocations: 31.19 kB / 444.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.1578, allocations: 76.95 kB / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1578, allocations: 0 / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000142/0.158, allocations: 122.2 kB / 444.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.158, allocations: 5.688 kB / 444.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.158, allocations: 0 / 444.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.158, allocations: 3 kB / 444.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.1581, allocations: 17.84 kB / 444.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1581, allocations: 6.578 kB / 444.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.1581, allocations: 5.75 kB / 444.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1581, allocations: 5 kB / 444.7 MB, free: 45.83 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 (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 5.281e-05/0.1582, allocations: 128 kB / 444.9 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.1582, allocations: 14.73 kB / 444.9 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.1584, allocations: 132.4 kB / 445 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1584, allocations: 2.438 kB / 445 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1584, allocations: 0 / 445 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1584, allocations: 0 / 445 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.1587, allocations: 388.2 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1587, allocations: 3.344 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.1588, allocations: 19.97 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1588, allocations: 0 / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.1588, allocations: 3.234 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1588, allocations: 3.219 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1588, allocations: 0 / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.1589, allocations: 218 kB / 445.6 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.1589, allocations: 23.75 kB / 445.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1589, allocations: 0 / 445.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.159, allocations: 7.531 kB / 445.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.159, allocations: 6.516 kB / 445.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.159, allocations: 2.094 kB / 445.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.373e-05/0.1591, allocations: 164.3 kB / 445.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1591, allocations: 0 / 445.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001748/0.1592, allocations: 21.16 kB / 445.9 MB, free: 45.18 MB / 410.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.0009002/0.1601, allocations: 1.13 MB / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1603, allocations: 76.14 kB / 447.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1603, allocations: 2.906 kB / 447.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.1603, allocations: 44.42 kB / 447.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.1606, allocations: 20.5 kB / 447.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1616, allocations: 1.716 MB / 448.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.1617, allocations: 102.1 kB / 448.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.966e-05/0.1617, allocations: 22.86 kB / 449 MB, free: 43.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.1618, allocations: 37.05 kB / 449 MB, free: 42.98 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.1618, allocations: 0 / 449 MB, free: 42.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.1774, allocations: 3.875 MB / 452.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/7.014, allocations: 2.812 kB / 452.9 MB, free: 41.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.885624984279275]