Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.0008273/0.0008273, 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.0008421/0.0008421, allocations: 170.3 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.9174/0.9174, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2462/0.2462, allocations: 32.79 MB / 293.5 MB, free: 1.23 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.479e-05, allocations: 8.531 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002581/0.002606, allocations: 1.588 MB / 441.2 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.003908, allocations: 1.247 MB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.003976, allocations: 0 / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.004244, allocations: 31.78 kB / 442.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.004554, allocations: 95.42 kB / 442.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.004838, allocations: 106.8 kB / 442.7 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.005016, allocations: 75.7 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.005172, allocations: 8 kB / 442.8 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.005253, allocations: 35.89 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.005373, allocations: 19.92 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.005394, allocations: 4 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.005537, allocations: 95.88 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.005591, allocations: 19.91 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.005625, allocations: 11.94 kB / 442.9 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.005847, allocations: 151.5 kB / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.005851, allocations: 0 / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.005853, allocations: 0 / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.005858, allocations: 0 / 443.1 MB, free: 0.7461 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.0004266/0.006284, allocations: 329.7 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.006325, allocations: 8.031 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.006356, allocations: 34.75 kB / 443.4 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.006389, allocations: 8.891 kB / 443.5 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.00655, allocations: 133.7 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.006559, allocations: 4.359 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.006577, allocations: 384 / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.006732, allocations: 93.61 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006743, allocations: 192 / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.006754, allocations: 3.938 kB / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.006758, allocations: 0 / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.699e-05/0.006815, allocations: 27.97 kB / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1761/0.1829, allocations: 243.6 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1831, allocations: 51.59 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.1831, allocations: 16.23 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1831, allocations: 0 / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.1831, allocations: 41.53 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1832, allocations: 0 / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003877/0.1835, allocations: 147.4 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.1836, allocations: 77.86 kB / 444.3 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.1837, allocations: 149.5 kB / 444.4 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.1837, allocations: 26.27 kB / 444.4 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.1837, allocations: 94.59 kB / 444.5 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.1837, allocations: 18.69 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1837, allocations: 22.58 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.241e-05/0.1838, allocations: 316.8 kB / 444.9 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.1838, allocations: 23.92 kB / 444.9 MB, free: 45.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.467e-05/0.1839, allocations: 62.08 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.363e-05/0.1839, allocations: 58.64 kB / 445 MB, free: 45.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1839, allocations: 0 / 445 MB, free: 45.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.49e-05/0.184, allocations: 95.41 kB / 445.1 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.184, allocations: 5.969 kB / 445.1 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.184, allocations: 3.281 kB / 445.1 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1841, allocations: 2.906 kB / 445.1 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.572e-05/0.1841, allocations: 11.3 kB / 445.1 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1841, allocations: 3.281 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.1841, allocations: 9.484 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1841, allocations: 5.562 kB / 445.2 MB, free: 45.54 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 4.258e-05/0.1842, allocations: 120.4 kB / 445.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.1842, allocations: 10.8 kB / 445.3 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1843, allocations: 98.22 kB / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1843, allocations: 0 / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1843, allocations: 0 / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1843, allocations: 2.625 kB / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1846, allocations: 325.9 kB / 445.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1846, allocations: 0 / 445.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.1846, allocations: 15.41 kB / 445.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1846, allocations: 2.812 kB / 445.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1846, allocations: 1.594 kB / 445.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1846, allocations: 3.125 kB / 445.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1846, allocations: 0 / 445.7 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.374e-05/0.1847, allocations: 191 kB / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.1847, allocations: 10.8 kB / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1847, allocations: 0 / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.1847, allocations: 6.141 kB / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.1848, allocations: 2.781 kB / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1848, allocations: 5.75 kB / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.1848, allocations: 117.7 kB / 446.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1848, allocations: 0 / 446.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.185, allocations: 38.88 kB / 446.1 MB, free: 44.9 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.0009114/0.1859, allocations: 1.151 MB / 447.2 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.186, allocations: 52.64 kB / 447.3 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.186, allocations: 0 / 447.3 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.419e-05/0.1861, allocations: 31.2 kB / 447.3 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1863, allocations: 18.11 kB / 447.3 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.1872, allocations: 1.461 MB / 448.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.1872, allocations: 82.92 kB / 448.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.1873, allocations: 22.2 kB / 448.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.1873, allocations: 25.72 kB / 448.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1873, allocations: 0 / 448.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.2031, allocations: 4.022 MB / 453 MB, free: 41.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/6.835, allocations: 9.922 kB / 453 MB, free: 41.39 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.822189272381365]