Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001282/0.001282, 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.001436/0.001436, allocations: 170.3 kB / 23.95 MB, free: 0.6055 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.8676/0.8676, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2391/0.2391, 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.513e-05, allocations: 2.281 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003128/0.003153, allocations: 1.597 MB / 441.2 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009943/0.004147, allocations: 0.5297 MB / 441.7 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.00421, allocations: 3.938 kB / 441.7 MB, free: 2.094 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.004444, allocations: 27.78 kB / 441.8 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.004918, allocations: 79.56 kB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.005264, allocations: 118.2 kB / 441.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.005433, allocations: 71.77 kB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.005545, allocations: 8 kB / 442 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.005622, allocations: 27.91 kB / 442.1 MB, free: 1.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.005684, allocations: 15.92 kB / 442.1 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.005702, allocations: 7.984 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.005786, allocations: 31.94 kB / 442.1 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.005839, allocations: 15.92 kB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.005869, allocations: 7.938 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.006048, allocations: 95.64 kB / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006051, allocations: 0 / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006052, allocations: 4 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.758e-06/0.006056, allocations: 3.938 kB / 442.2 MB, free: 1.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004434/0.006499, allocations: 309.8 kB / 442.5 MB, free: 1.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.006543, allocations: 12.03 kB / 442.5 MB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.006578, allocations: 30.75 kB / 442.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.006612, allocations: 8.891 kB / 442.6 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.006781, allocations: 133.7 kB / 442.7 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.006796, allocations: 8.375 kB / 442.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.006814, allocations: 4.375 kB / 442.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.006956, allocations: 50.19 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.006967, allocations: 4.125 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.006978, allocations: 3.938 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006982, allocations: 0 / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.007074, allocations: 31.95 kB / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.00746, allocations: 244 kB / 443.1 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.007647, allocations: 54.42 kB / 443.1 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.007686, allocations: 16.86 kB / 443.1 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.007704, allocations: 0 / 443.1 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.007722, allocations: 38.56 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.007723, allocations: 0 / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003755/0.008099, allocations: 149.4 kB / 443.3 MB, free: 384 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.008127, allocations: 51.41 kB / 443.4 MB, free: 320 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.008234, allocations: 169 kB / 443.5 MB, free: 144 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.008243, allocations: 25.7 kB / 443.5 MB, free: 112 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.008281, allocations: 100.1 kB / 443.6 MB, free: 8 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.152/0.1603, allocations: 18.09 kB / 443.7 MB, free: 46.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.1604, allocations: 21.41 kB / 443.7 MB, free: 46.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.1604, allocations: 323.3 kB / 444 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.1605, allocations: 20.2 kB / 444 MB, free: 46.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.1605, allocations: 25.72 kB / 444 MB, free: 46.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.152e-05/0.1606, allocations: 48.23 kB / 444.1 MB, free: 46.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1606, allocations: 0 / 444.1 MB, free: 46.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001338/0.1608, allocations: 93.62 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1608, allocations: 5.844 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1608, allocations: 0 / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.1608, allocations: 0 / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.1609, allocations: 18.16 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1609, allocations: 2.219 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.1609, allocations: 3.375 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1609, allocations: 5.625 kB / 444.2 MB, free: 45.98 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 (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 5.456e-05/0.161, allocations: 120 kB / 444.3 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.161, allocations: 7.859 kB / 444.3 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.1611, allocations: 101.8 kB / 444.4 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1611, allocations: 3.281 kB / 444.4 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1611, allocations: 3.938 kB / 444.4 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1612, allocations: 0.9844 kB / 444.4 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.1614, allocations: 318.1 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1614, allocations: 7.281 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.1614, allocations: 11.36 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1615, allocations: 3.938 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1615, allocations: 3.438 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1615, allocations: 0 / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1615, allocations: 0 / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.777e-05/0.1616, allocations: 186.1 kB / 445 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.1616, allocations: 17.28 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1616, allocations: 2.156 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-05/0.1616, allocations: 6.438 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.1616, allocations: 5.828 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1616, allocations: 0 / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.1617, allocations: 128.2 kB / 445.1 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1617, allocations: 0 / 445.1 MB, free: 45.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.1618, allocations: 18.12 kB / 445.1 MB, free: 45.36 MB / 410.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.0007872/0.1626, allocations: 1.044 MB / 446.2 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.1628, allocations: 53.47 kB / 446.2 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1628, allocations: 0.6562 kB / 446.2 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.415e-05/0.1628, allocations: 23.47 kB / 446.3 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1631, allocations: 16.98 kB / 446.3 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.1639, allocations: 1.503 MB / 447.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.1639, allocations: 81.86 kB / 447.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.212e-05/0.164, allocations: 17.52 kB / 447.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.164, allocations: 26.94 kB / 447.9 MB, free: 43.42 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.164, allocations: 0 / 447.9 MB, free: 43.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.1782, allocations: 3.34 MB / 451.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/6.921, allocations: 9.297 kB / 451.3 MB, free: 42.12 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.823907499201596]