Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.0009469/0.0009469, 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.001058/0.001058, 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.8548/0.8548, allocations: 158.6 MB / 185 MB, free: 3.043 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.1281/0.1281, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.453e-05, allocations: 5.516 kB / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00185/0.001865, allocations: 1.68 MB / 408.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003087, allocations: 1.474 MB / 410.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.003143, allocations: 4 kB / 410.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.003389, allocations: 47.7 kB / 410.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.003576, allocations: 55.7 kB / 410.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.003739, allocations: 91.62 kB / 410.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.003878, allocations: 107.6 kB / 410.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.003958, allocations: 4.234 kB / 410.4 MB, free: 9.953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.004024, allocations: 43.91 kB / 410.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.004103, allocations: 31.89 kB / 410.5 MB, free: 9.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.004119, allocations: 8 kB / 410.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.004203, allocations: 67.8 kB / 410.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.004249, allocations: 19.91 kB / 410.5 MB, free: 9.785 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.004282, allocations: 19.92 kB / 410.6 MB, free: 9.766 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.004445, allocations: 123.6 kB / 410.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004447, allocations: 0 / 410.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004448, allocations: 0 / 410.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.004453, allocations: 3.938 kB / 410.7 MB, free: 9.641 MB / 346.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.0004176/0.004871, allocations: 329.7 kB / 411 MB, free: 9.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.004906, allocations: 8.031 kB / 411 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.004936, allocations: 42.73 kB / 411.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.004967, allocations: 8.891 kB / 411.1 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.005141, allocations: 145 kB / 411.2 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.005153, allocations: 8.312 kB / 411.2 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.005169, allocations: 4.375 kB / 411.2 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.005301, allocations: 97.41 kB / 411.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.005309, allocations: 0 / 411.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005318, allocations: 3.984 kB / 411.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.005322, allocations: 0 / 411.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.00537, allocations: 31.91 kB / 411.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.005625, allocations: 248 kB / 411.6 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.005729, allocations: 62.61 kB / 411.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.005761, allocations: 20.84 kB / 411.7 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.005773, allocations: 4 kB / 411.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.006123, allocations: 71.39 kB / 411.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.006124, allocations: 0 / 411.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003651/0.006489, allocations: 173.4 kB / 411.9 MB, free: 8.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.006526, allocations: 81.11 kB / 412 MB, free: 8.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.858e-05/0.006624, allocations: 153.6 kB / 412.2 MB, free: 8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006636, allocations: 33.7 kB / 412.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.006672, allocations: 96.12 kB / 412.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.006695, allocations: 27.75 kB / 412.3 MB, free: 7.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.006725, allocations: 29.64 kB / 412.3 MB, free: 7.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.006798, allocations: 326.8 kB / 412.7 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.006831, allocations: 20 kB / 412.7 MB, free: 7.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.006879, allocations: 72.25 kB / 412.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.808e-05/0.006947, allocations: 53.72 kB / 412.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006947, allocations: 0 / 412.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001104/0.007058, allocations: 105.6 kB / 412.9 MB, free: 7.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.007073, allocations: 6.656 kB / 412.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007078, allocations: 4 kB / 412.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.00709, allocations: 0 / 412.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.007155, allocations: 19.98 kB / 412.9 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.007162, allocations: 8.266 kB / 412.9 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.007193, allocations: 4 kB / 412.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.0072, allocations: 7.938 kB / 412.9 MB, free: 7.152 MB / 346.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.943e-05/0.007269, allocations: 121.8 kB / 413.1 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.007282, allocations: 15.98 kB / 413.1 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.007433, allocations: 118.4 kB / 413.2 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007436, allocations: 4 kB / 413.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.007439, allocations: 0 / 413.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.007442, allocations: 0 / 413.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.00771, allocations: 370.3 kB / 413.6 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.007711, allocations: 0 / 413.6 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.007731, allocations: 8 kB / 413.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.007733, allocations: 3.938 kB / 413.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.007739, allocations: 4 kB / 413.6 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00774, allocations: 4.406 kB / 413.6 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.007743, allocations: 7.922 kB / 413.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.007864, allocations: 208.3 kB / 413.8 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-06/0.007873, allocations: 7.953 kB / 413.8 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.007888, allocations: 8 kB / 413.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.007928, allocations: 7.984 kB / 413.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.007955, allocations: 7.938 kB / 413.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.007967, allocations: 7.984 kB / 413.8 MB, free: 6.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.008022, allocations: 115.3 kB / 413.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008022, allocations: 0 / 413.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.008194, allocations: 43.86 kB / 414 MB, free: 6.023 MB / 346.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.0009429/0.009137, allocations: 1.175 MB / 415.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.00925, allocations: 63.89 kB / 415.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009252, allocations: 0 / 415.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.009292, allocations: 27.98 kB / 415.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.009496, allocations: 33.27 kB / 415.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.0105, allocations: 1.571 MB / 416.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/0.01055, allocations: 91.64 kB / 416.9 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.01059, allocations: 12.97 kB / 417 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.01064, allocations: 32.48 kB / 417 MB, free: 2.938 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01064, allocations: 4 kB / 417 MB, free: 2.934 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.02584, allocations: 4.431 MB / 421.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.406/6.432, allocations: 7.797 kB / 421.4 MB, free: 14.35 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.349403919652104]