Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.0008079/0.0008079, 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.000762/0.000762, 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.896/0.896, allocations: 158.6 MB / 185 MB, free: 3.023 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.135/0.135, 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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.73e-05, allocations: 6.078 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002416/0.002443, allocations: 1.68 MB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003588, allocations: 0.7803 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.003682, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.004053, allocations: 83.69 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.004306, allocations: 79.61 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.004559, allocations: 87.69 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.004746, allocations: 111.7 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004847, allocations: 8.234 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.707e-05/0.004944, allocations: 67.73 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.005042, allocations: 47.89 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.00506, allocations: 4 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.005154, allocations: 47.91 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.005211, allocations: 23.86 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.005252, allocations: 15.94 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.00546, allocations: 123.6 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005463, allocations: 4 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.005465, allocations: 3.938 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.005471, allocations: 0 / 410.1 MB, free: 14.98 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.0007163/0.006187, allocations: 349.5 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.006229, allocations: 8.031 kB / 410.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.006259, allocations: 38.69 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.006298, allocations: 16.84 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.006538, allocations: 141.6 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.006549, allocations: 384 / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.006567, allocations: 4.375 kB / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.006703, allocations: 65.97 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.006712, allocations: 0 / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.006722, allocations: 4 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.006726, allocations: 0 / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.296e-05/0.006779, allocations: 23.92 kB / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.007096, allocations: 263.9 kB / 411 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.007214, allocations: 58.66 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.007247, allocations: 16.86 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.007265, allocations: 8 kB / 411 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.007388, allocations: 71.31 kB / 411.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.007389, allocations: 0 / 411.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004235/0.007813, allocations: 189.3 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.007844, allocations: 55.41 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.00798, allocations: 218.8 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.007991, allocations: 25.7 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.008035, allocations: 100.1 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.008061, allocations: 27.78 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.008093, allocations: 21.72 kB / 411.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.008171, allocations: 334.8 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.008209, allocations: 19.98 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.00825, allocations: 37.7 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.008323, allocations: 65.64 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.008324, allocations: 0 / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00012/0.008444, allocations: 113.6 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.008463, allocations: 4 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.008468, allocations: 0 / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.00848, allocations: 4.031 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.008548, allocations: 20.12 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.008553, allocations: 3.984 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.008583, allocations: 3.938 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.008589, allocations: 7.938 kB / 412.3 MB, free: 12.5 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 7.697e-05/0.008666, allocations: 133.8 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.008679, allocations: 7.953 kB / 412.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.008845, allocations: 123.1 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008847, allocations: 0 / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.008852, allocations: 0 / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008855, allocations: 4 kB / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.009149, allocations: 378.3 kB / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.009152, allocations: 4 kB / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.009174, allocations: 8 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.009177, allocations: 3.984 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.009185, allocations: 384 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.009187, allocations: 4 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.00919, allocations: 11.88 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.009329, allocations: 208.3 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.009341, allocations: 11.98 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.00936, allocations: 11.92 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.009399, allocations: 4 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.009428, allocations: 11.92 kB / 413.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.009441, allocations: 4 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.139e-05/0.009532, allocations: 163.2 kB / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009532, allocations: 0 / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.00971, allocations: 23.94 kB / 413.4 MB, free: 11.32 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.0009682/0.01068, allocations: 1.137 MB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.01081, allocations: 59.91 kB / 414.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01081, allocations: 0 / 414.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.01085, allocations: 35.92 kB / 414.7 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.01108, allocations: 32.36 kB / 414.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.01225, allocations: 1.709 MB / 416.4 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.983e-05/0.01231, allocations: 92.8 kB / 416.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.937e-05/0.01235, allocations: 12.48 kB / 416.5 MB, free: 8.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.01241, allocations: 44.48 kB / 416.6 MB, free: 8.09 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01241, allocations: 0 / 416.6 MB, free: 8.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.02758, allocations: 4.306 MB / 420.9 MB, free: 3.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/6.519, allocations: 11.78 kB / 420.9 MB, free: 3.641 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.521308727562428]