Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001073/0.001073, 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.001228/0.001228, 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.8578/0.8578, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2179/0.2179, allocations: 32.8 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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.518e-05, allocations: 4.25 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002029/0.002044, allocations: 1.731 MB / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.003123, allocations: 0.9742 MB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.003187, allocations: 0 / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.003452, allocations: 87.62 kB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.003696, allocations: 127.4 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.00383, allocations: 83.66 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.003973, allocations: 127.5 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.004063, allocations: 11.98 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.004146, allocations: 67.81 kB / 442.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.004235, allocations: 63.84 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.00425, allocations: 8 kB / 443 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.004335, allocations: 55.92 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.004387, allocations: 31.84 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.361e-05/0.00448, allocations: 23.88 kB / 443.1 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.004645, allocations: 143.5 kB / 443.2 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004647, allocations: 4 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004648, allocations: 0 / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.004651, allocations: 0 / 443.2 MB, free: 0.6055 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003965/0.005047, allocations: 373.3 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.005083, allocations: 8.031 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.005112, allocations: 38.73 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.005141, allocations: 12.84 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.147/0.1521, allocations: 152.6 kB / 443.8 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1521, allocations: 4.438 kB / 443.8 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1522, allocations: 9.156 kB / 443.8 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1523, allocations: 63.66 kB / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1523, allocations: 0 / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.1523, allocations: 1.625 kB / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1523, allocations: 3.844 kB / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.378e-05/0.1524, allocations: 26 kB / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.1527, allocations: 268.4 kB / 444.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1529, allocations: 58.64 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.1529, allocations: 25.86 kB / 444.2 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1529, allocations: 0.5625 kB / 444.2 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.153, allocations: 74.64 kB / 444.3 MB, free: 46.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.153, allocations: 0 / 444.3 MB, free: 46.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005239/0.1535, allocations: 266 kB / 444.6 MB, free: 46.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1536, allocations: 55.03 kB / 444.6 MB, free: 46.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1537, allocations: 235.8 kB / 444.9 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.1537, allocations: 32.97 kB / 444.9 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.1537, allocations: 110.4 kB / 445 MB, free: 45.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1538, allocations: 37.92 kB / 445 MB, free: 45.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.1538, allocations: 27.25 kB / 445.1 MB, free: 45.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.277e-05/0.1538, allocations: 326.3 kB / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.1539, allocations: 32.3 kB / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.1539, allocations: 46.77 kB / 445.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.756e-05/0.154, allocations: 82.88 kB / 445.5 MB, free: 45.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.154, allocations: 0 / 445.5 MB, free: 45.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001212/0.1541, allocations: 138.9 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1541, allocations: 5.312 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1541, allocations: 3.422 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1541, allocations: 2.656 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.1542, allocations: 24.25 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1542, allocations: 3.188 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.1542, allocations: 5.203 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1542, allocations: 5.094 kB / 445.7 MB, free: 45.39 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 (13): * Single equations (assignments): 13 * 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.601e-05/0.1543, allocations: 135.5 kB / 445.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.1543, allocations: 17.16 kB / 445.9 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.1545, allocations: 160.2 kB / 446 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1545, allocations: 2.969 kB / 446 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1545, allocations: 3.875 kB / 446 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1545, allocations: 0 / 446 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.1548, allocations: 429.2 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1548, allocations: 2.906 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.1548, allocations: 14.39 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.1548, allocations: 2.844 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-06/0.1548, allocations: 9.344 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1548, allocations: 0 / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1548, allocations: 2.844 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1549, allocations: 246.8 kB / 446.7 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.1549, allocations: 16.95 kB / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1549, allocations: 4 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.155, allocations: 7.375 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.155, allocations: 13.17 kB / 446.8 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.155, allocations: 10.25 kB / 446.8 MB, free: 44.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.462e-05/0.1551, allocations: 175 kB / 446.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1551, allocations: 2.906 kB / 446.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.1553, allocations: 33.36 kB / 447 MB, free: 44.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.000947/0.1562, allocations: 1.216 MB / 448.2 MB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.1564, allocations: 87.98 kB / 448.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1564, allocations: 4.062 kB / 448.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.1564, allocations: 38.89 kB / 448.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1566, allocations: 36.38 kB / 448.4 MB, free: 43.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1577, allocations: 1.862 MB / 450.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.1577, allocations: 107.5 kB / 450.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.302e-05/0.1578, allocations: 15.47 kB / 450.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.1578, allocations: 50.64 kB / 450.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1578, allocations: 0 / 450.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.1748, allocations: 4.772 MB / 455.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/6.914, allocations: 10.16 kB / 455.2 MB, free: 40.69 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.790786570869386]