Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.0009423/0.0009423, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0009427/0.0009427, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8459/0.8459, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1287/0.1287, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.413e-05, allocations: 2.281 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001947/0.001961, allocations: 1.687 MB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.002803, allocations: 0.7765 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.002857, allocations: 7.938 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.003062, allocations: 35.78 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.003214, allocations: 51.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.003375, allocations: 91.64 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.003493, allocations: 103.6 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.759e-05/0.003561, allocations: 8.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.003631, allocations: 51.78 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.003685, allocations: 27.89 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.003699, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.407e-05/0.003763, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.003803, allocations: 15.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.003835, allocations: 19.92 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.003973, allocations: 107.7 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003975, allocations: 0 / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.003976, allocations: 3.938 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.003979, allocations: 4 kB / 409.9 MB, free: 15.11 MB / 394.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.000339/0.004318, allocations: 329.6 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.00435, allocations: 8.031 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.004376, allocations: 38.73 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.004398, allocations: 8.891 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.004548, allocations: 146.1 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.004558, allocations: 384 / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.004574, allocations: 8.125 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.004668, allocations: 53.67 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.004677, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.004685, allocations: 8 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.004689, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.004737, allocations: 19.98 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.004991, allocations: 255.9 kB / 410.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.005098, allocations: 54.67 kB / 410.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.005131, allocations: 24.84 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.005145, allocations: 0 / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.919e-05/0.005244, allocations: 71.39 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 6.11e-07/0.005244, allocations: 7.938 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003563/0.005601, allocations: 173.5 kB / 411.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.005625, allocations: 55.41 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.005722, allocations: 170.3 kB / 411.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.005732, allocations: 29.64 kB / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.005768, allocations: 96.12 kB / 411.5 MB, free: 13.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.00579, allocations: 23.8 kB / 411.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.005821, allocations: 29.7 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.00589, allocations: 322.8 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.006055, allocations: 16 kB / 411.9 MB, free: 13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.006094, allocations: 45.64 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.619e-05/0.00616, allocations: 61.69 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006161, allocations: 0 / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001064/0.006267, allocations: 113.6 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.006277, allocations: 4 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.006281, allocations: 0 / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.00629, allocations: 0 / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.006346, allocations: 24.11 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.006351, allocations: 7.969 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.006376, allocations: 7.938 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.006381, allocations: 4 kB / 412.1 MB, free: 12.72 MB / 394.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.187e-05/0.006443, allocations: 121.8 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.006453, allocations: 7.953 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.006604, allocations: 118.4 kB / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006606, allocations: 0 / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.006612, allocations: 7.938 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006615, allocations: 0 / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.006903, allocations: 374.4 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006904, allocations: 0 / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.006924, allocations: 8 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.006927, allocations: 3.938 kB / 412.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.006935, allocations: 8 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006936, allocations: 0 / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006937, allocations: 0 / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.007073, allocations: 212.3 kB / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.007085, allocations: 11.89 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.007099, allocations: 384 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.007137, allocations: 12.03 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.007161, allocations: 3.984 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.007171, allocations: 8 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.007232, allocations: 127.2 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007232, allocations: 0 / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.007403, allocations: 31.92 kB / 413.1 MB, free: 11.61 MB / 394.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.000914/0.008317, allocations: 1.137 MB / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.008435, allocations: 59.92 kB / 414.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008436, allocations: 0 / 414.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.008476, allocations: 23.98 kB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.008676, allocations: 32.28 kB / 414.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.009726, allocations: 1.597 MB / 416 MB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.141e-05/0.009778, allocations: 83.33 kB / 416.1 MB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.009811, allocations: 16.48 kB / 416.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.009854, allocations: 32.48 kB / 416.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009855, allocations: 0 / 416.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.02366, allocations: 4.083 MB / 420.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/6.493, allocations: 11.91 kB / 420.2 MB, free: 4.289 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.377026640810072]