Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.0008031/0.0008031, allocations: 80.44 kB / 19.93 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.0008835/0.0008835, 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.8564/0.8564, allocations: 158.6 MB / 185 MB, free: 3.039 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.1315/0.1315, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/2e-05, allocations: 2.281 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002233/0.002253, allocations: 1.815 MB / 408.7 MB, free: 352 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003283, allocations: 0.8699 MB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.003371, allocations: 0 / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.003791, allocations: 227.2 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.004083, allocations: 167.4 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.004384, allocations: 159.5 kB / 410.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.004633, allocations: 231.3 kB / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.00474, allocations: 13.8 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.004882, allocations: 127.7 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.005026, allocations: 155.6 kB / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.005051, allocations: 8 kB / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-05/0.005138, allocations: 47.92 kB / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.005211, allocations: 63.75 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.005259, allocations: 35.81 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.005474, allocations: 215.1 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005476, allocations: 0 / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.005478, allocations: 4 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005483, allocations: 0 / 411 MB, free: 14.04 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004954/0.005978, allocations: 472.6 kB / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.006014, allocations: 8.031 kB / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.006047, allocations: 42.73 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.006085, allocations: 32.75 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.006344, allocations: 217.8 kB / 411.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.006359, allocations: 4.375 kB / 411.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.006379, allocations: 8.375 kB / 411.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.006544, allocations: 103.6 kB / 411.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.006554, allocations: 3.938 kB / 411.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.006564, allocations: 3.984 kB / 411.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.006569, allocations: 4 kB / 411.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.006648, allocations: 43.95 kB / 412 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.007025, allocations: 420 kB / 412.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.007206, allocations: 109.3 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.007269, allocations: 49.64 kB / 412.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.007286, allocations: 7.984 kB / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.007443, allocations: 105.1 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.007444, allocations: 0 / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.000847/0.008291, allocations: 392.5 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.008331, allocations: 81.11 kB / 413.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.008611, allocations: 440.5 kB / 413.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.008627, allocations: 29.7 kB / 413.5 MB, free: 11.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.008697, allocations: 152.4 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.008734, allocations: 51.59 kB / 413.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.008771, allocations: 29.72 kB / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.008866, allocations: 346.7 kB / 414.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.008931, allocations: 43.98 kB / 414.2 MB, free: 10.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.009001, allocations: 79.39 kB / 414.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.009133, allocations: 127.5 kB / 414.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.009134, allocations: 0 / 414.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001947/0.009329, allocations: 193.3 kB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.009343, allocations: 4 kB / 414.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009348, allocations: 0 / 414.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.009363, allocations: 4 kB / 414.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.009462, allocations: 32.05 kB / 414.6 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.00947, allocations: 7.984 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.009516, allocations: 7.938 kB / 414.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.009527, allocations: 15.88 kB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001017/0.009629, allocations: 169.7 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.009653, allocations: 27.81 kB / 414.8 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.009911, allocations: 228.1 kB / 415 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.009913, allocations: 0 / 415 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.009918, allocations: 0 / 415 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.009921, allocations: 8 kB / 415 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.01039, allocations: 0.6001 MB / 415.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01039, allocations: 0.75 kB / 415.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.01043, allocations: 19.98 kB / 415.7 MB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01044, allocations: 7.938 kB / 415.7 MB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01045, allocations: 8 kB / 415.7 MB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01045, allocations: 4 kB / 415.7 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.01045, allocations: 3.938 kB / 415.7 MB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.0107, allocations: 388.3 kB / 416.1 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.01072, allocations: 23.81 kB / 416.1 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.01074, allocations: 11.94 kB / 416.1 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.01082, allocations: 7.984 kB / 416.1 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.01085, allocations: 15.97 kB / 416.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.01087, allocations: 11.98 kB / 416.1 MB, free: 8.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.01106, allocations: 323 kB / 416.5 MB, free: 8.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 0 / 416.5 MB, free: 8.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.01128, allocations: 47.86 kB / 416.5 MB, free: 8.215 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001077/0.01236, allocations: 1.316 MB / 417.8 MB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.01255, allocations: 120 kB / 417.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01255, allocations: 0 / 417.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.01263, allocations: 59.91 kB / 418 MB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.01297, allocations: 64.84 kB / 418.1 MB, free: 6.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.01506, allocations: 2.661 MB / 420.7 MB, free: 3.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.01517, allocations: 157 kB / 420.9 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.786e-05/0.01523, allocations: 29.62 kB / 420.9 MB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.01532, allocations: 88.45 kB / 421 MB, free: 3.582 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01532, allocations: 4 kB / 421 MB, free: 3.578 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.03277, allocations: 6.714 MB / 427.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/6.586, allocations: 0 / 427.7 MB, free: 12.73 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.518395447172225]