Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.0007897/0.0007897, 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.0007999/0.0007999, allocations: 174.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.8807/0.8807, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2481/0.2481, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.399e-05, allocations: 4.391 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002454/0.002478, allocations: 1.723 MB / 441.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003592, allocations: 0.9664 MB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.003675, allocations: 3.938 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.003964, allocations: 51.81 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.004288, allocations: 111.4 kB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.004479, allocations: 79.66 kB / 442.6 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.004637, allocations: 103.6 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.004732, allocations: 15.98 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.004814, allocations: 47.89 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.004893, allocations: 23.92 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.004909, allocations: 4 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.004997, allocations: 47.86 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.005055, allocations: 35.84 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.005096, allocations: 23.86 kB / 442.9 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.005316, allocations: 135.5 kB / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005318, allocations: 0 / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005319, allocations: 0 / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.005324, allocations: 0 / 443 MB, free: 0.7695 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004675/0.005792, allocations: 385.2 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.005831, allocations: 8.031 kB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.00586, allocations: 34.69 kB / 443.4 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.005895, allocations: 16.84 kB / 443.5 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.006104, allocations: 158.5 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.006116, allocations: 384 / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.006135, allocations: 8.312 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.006257, allocations: 57.98 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.006268, allocations: 3.984 kB / 443.7 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.006275, allocations: 4 kB / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.00628, allocations: 0 / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.006333, allocations: 23.98 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1706/0.1769, allocations: 259.9 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.177, allocations: 55.86 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.1771, allocations: 20.08 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.1771, allocations: 3.844 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.1772, allocations: 73.3 kB / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.1772, allocations: 0 / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004238/0.1776, allocations: 195.6 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.1777, allocations: 51.41 kB / 444.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1778, allocations: 279.5 kB / 444.6 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.1778, allocations: 29.39 kB / 444.7 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.1779, allocations: 113.9 kB / 444.8 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.1779, allocations: 25.59 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.1779, allocations: 24.22 kB / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.178, allocations: 330.8 kB / 445.1 MB, free: 45.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.733e-05/0.178, allocations: 21.62 kB / 445.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.178, allocations: 38.95 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.309e-05/0.1781, allocations: 60.75 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1781, allocations: 0 / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001089/0.1782, allocations: 119.8 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1782, allocations: 2.844 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1782, allocations: 3 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1782, allocations: 0 / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.1783, allocations: 19.41 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1783, allocations: 3.203 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.1783, allocations: 6.016 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1783, allocations: 5.656 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.829e-05/0.1784, allocations: 135 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1784, allocations: 25.73 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.1786, allocations: 129.6 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1786, allocations: 0 / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1786, allocations: 3.844 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1786, allocations: 0 / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.1789, allocations: 387.1 kB / 446.1 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1789, allocations: 0 / 446.1 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.1789, allocations: 8.875 kB / 446.1 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1789, allocations: 0 / 446.1 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1789, allocations: 8.469 kB / 446.1 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1789, allocations: 1.375 kB / 446.1 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1789, allocations: 0 / 446.1 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.179, allocations: 227.6 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.179, allocations: 13.31 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1791, allocations: 0 / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.1791, allocations: 2.781 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1791, allocations: 15.78 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1792, allocations: 5.5 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.1792, allocations: 205.5 kB / 446.6 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1792, allocations: 0 / 446.6 MB, free: 44.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001916/0.1794, allocations: 34.94 kB / 446.6 MB, free: 44.76 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009995/0.1804, allocations: 1.149 MB / 447.7 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.1806, allocations: 61.58 kB / 447.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1806, allocations: 4.062 kB / 447.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.1806, allocations: 28.64 kB / 447.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.1809, allocations: 22.97 kB / 447.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.182, allocations: 1.862 MB / 449.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.182, allocations: 108.5 kB / 449.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.1821, allocations: 24.31 kB / 449.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.1821, allocations: 42.23 kB / 449.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1821, allocations: 0 / 449.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1985, allocations: 4.628 MB / 454.5 MB, free: 41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/6.918, allocations: 7.219 kB / 454.5 MB, free: 41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.835656293667853]