Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.0007977/0.0007977, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008777/0.0008777, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8639/0.8639, 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.2157/0.2157, allocations: 32.79 MB / 293.5 MB, free: 1.234 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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.005e-05, allocations: 6.281 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001996/0.002016, allocations: 1.59 MB / 441.2 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006234/0.00264, allocations: 0.5219 MB / 441.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.002685, allocations: 0 / 441.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.002868, allocations: 35.77 kB / 441.8 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.003087, allocations: 83.56 kB / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.003273, allocations: 93.56 kB / 441.9 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.003389, allocations: 59.78 kB / 442 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.003474, allocations: 15.97 kB / 442 MB, free: 1.832 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.003523, allocations: 27.92 kB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.003569, allocations: 19.92 kB / 442 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.00358, allocations: 4 kB / 442 MB, free: 1.781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.876e-05/0.003639, allocations: 31.94 kB / 442.1 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.00368, allocations: 19.91 kB / 442.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.003703, allocations: 11.94 kB / 442.1 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003837, allocations: 87.64 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003839, allocations: 0 / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003839, allocations: 0 / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.003844, allocations: 4 kB / 442.2 MB, free: 1.629 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.0003447/0.004189, allocations: 317.8 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.004221, allocations: 12.03 kB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.328e-05/0.004244, allocations: 34.75 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.004267, allocations: 12.84 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.004384, allocations: 138.2 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.004392, allocations: 384 / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.004406, allocations: 384 / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.579e-05/0.004502, allocations: 61.69 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.004511, allocations: 0 / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.004518, allocations: 0 / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.004521, allocations: 0 / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.004576, allocations: 27.97 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.004822, allocations: 248 kB / 443 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.004971, allocations: 42.5 kB / 443.1 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.004997, allocations: 16.94 kB / 443.1 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.005014, allocations: 4 kB / 443.1 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.005028, allocations: 30.56 kB / 443.1 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.005029, allocations: 0 / 443.1 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003474/0.005376, allocations: 149.3 kB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.005401, allocations: 55.41 kB / 443.3 MB, free: 360 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.00551, allocations: 177.6 kB / 443.5 MB, free: 172 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.005519, allocations: 25.7 kB / 443.5 MB, free: 140 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.005556, allocations: 96.14 kB / 443.6 MB, free: 40 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.005573, allocations: 19.89 kB / 443.6 MB, free: 20 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.005597, allocations: 13.72 kB / 443.7 MB, free: 0 / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1507/0.1563, allocations: 325.1 kB / 444 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.1563, allocations: 14.91 kB / 444 MB, free: 46.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.1564, allocations: 21.33 kB / 444 MB, free: 46.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/0.1564, allocations: 45.34 kB / 444 MB, free: 46.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1564, allocations: 2.625 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001073/0.1566, allocations: 81.11 kB / 444.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1566, allocations: 7.719 kB / 444.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1566, allocations: 0 / 444.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1566, allocations: 2.625 kB / 444.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.1566, allocations: 14.67 kB / 444.2 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1566, allocations: 2.562 kB / 444.2 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.1567, allocations: 10.78 kB / 444.2 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1567, allocations: 5 kB / 444.2 MB, free: 46.02 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.779e-05/0.1567, allocations: 120.3 kB / 444.3 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.1567, allocations: 10.5 kB / 444.3 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.1569, allocations: 87.09 kB / 444.4 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1569, allocations: 5.922 kB / 444.4 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1569, allocations: 9.469 kB / 444.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1569, allocations: 0 / 444.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.1571, allocations: 319.7 kB / 444.7 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1571, allocations: 2.719 kB / 444.7 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.1571, allocations: 8.688 kB / 444.7 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1571, allocations: 6.984 kB / 444.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1571, allocations: 2.781 kB / 444.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1571, allocations: 3.812 kB / 444.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1571, allocations: 0 / 444.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.79e-05/0.1572, allocations: 182.2 kB / 444.9 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.1572, allocations: 4 kB / 444.9 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1572, allocations: 7.594 kB / 444.9 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.1573, allocations: 6.766 kB / 444.9 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.1573, allocations: 0.625 kB / 444.9 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.1573, allocations: 8.656 kB / 444.9 MB, free: 45.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.1573, allocations: 137.4 kB / 445.1 MB, free: 45.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1573, allocations: 3.562 kB / 445.1 MB, free: 45.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000156/0.1575, allocations: 18.94 kB / 445.1 MB, free: 45.39 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.0007222/0.1582, allocations: 1.043 MB / 446.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1583, allocations: 50.91 kB / 446.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.1583, allocations: 0.5469 kB / 446.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.1583, allocations: 21.3 kB / 446.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1586, allocations: 21.02 kB / 446.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.1593, allocations: 1.496 MB / 447.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.752e-05/0.1594, allocations: 88.5 kB / 447.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.643e-05/0.1594, allocations: 8.438 kB / 447.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.1594, allocations: 31.16 kB / 447.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1594, allocations: 0 / 447.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.1725, allocations: 3.358 MB / 451.2 MB, free: 42.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/7.005, allocations: 14.16 kB / 451.2 MB, free: 42.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.857064762152731]