Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.0008277/0.0008277, 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.0008229/0.0008229, 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.8703/0.8703, 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.1316/0.1316, 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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.496e-05, allocations: 6.219 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002298/0.002323, allocations: 1.808 MB / 408.7 MB, free: 352 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003434, allocations: 0.8699 MB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.003515, allocations: 0 / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.003883, allocations: 159.4 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.004165, allocations: 151.3 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.004429, allocations: 151.5 kB / 410 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.004651, allocations: 223.3 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.004768, allocations: 9.797 kB / 410.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.004902, allocations: 123.6 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.005039, allocations: 123.7 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.005063, allocations: 12 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.005152, allocations: 51.91 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.005222, allocations: 43.84 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.005275, allocations: 43.78 kB / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.005498, allocations: 199.2 kB / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.005502, allocations: 0 / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.005504, allocations: 0 / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.005509, allocations: 0 / 410.9 MB, free: 14.2 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.0005246/0.006034, allocations: 452.8 kB / 411.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.006073, allocations: 8.031 kB / 411.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.006103, allocations: 42.73 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.006143, allocations: 24.75 kB / 411.4 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.006397, allocations: 200.8 kB / 411.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.00641, allocations: 384 / 411.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.006431, allocations: 8.375 kB / 411.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.006608, allocations: 103.6 kB / 411.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.006619, allocations: 7.938 kB / 411.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.006632, allocations: 3.984 kB / 411.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.006638, allocations: 0 / 411.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/0.006725, allocations: 47.95 kB / 411.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.00714, allocations: 412 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.007324, allocations: 109.3 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.007381, allocations: 45.69 kB / 412.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.007399, allocations: 4 kB / 412.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.007566, allocations: 117 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.007567, allocations: 0 / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006092/0.008177, allocations: 380.6 kB / 412.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.008222, allocations: 77.11 kB / 412.9 MB, free: 12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.008615, allocations: 364.2 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.008631, allocations: 29.7 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.008699, allocations: 136.4 kB / 413.4 MB, free: 11.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.008738, allocations: 59.52 kB / 413.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.008782, allocations: 33.7 kB / 413.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.008871, allocations: 342.8 kB / 413.8 MB, free: 11.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.00894, allocations: 43.97 kB / 413.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.009011, allocations: 79.34 kB / 413.9 MB, free: 10.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.009146, allocations: 127.5 kB / 414 MB, free: 10.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009147, allocations: 0 / 414 MB, free: 10.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001935/0.00934, allocations: 185.4 kB / 414.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.009354, allocations: 4 kB / 414.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.009361, allocations: 4 kB / 414.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.009373, allocations: 4.062 kB / 414.2 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.009462, allocations: 35.92 kB / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.009467, allocations: 0 / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.009514, allocations: 15.92 kB / 414.3 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.009523, allocations: 7.938 kB / 414.3 MB, free: 10.5 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 9.303e-05/0.009616, allocations: 157.8 kB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.009638, allocations: 23.86 kB / 414.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.009899, allocations: 215.3 kB / 414.7 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.009903, allocations: 4 kB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.009908, allocations: 4 kB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.009912, allocations: 0 / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.0104, allocations: 0.6008 MB / 415.3 MB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.0104, allocations: 0 / 415.3 MB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.01044, allocations: 16 kB / 415.3 MB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01044, allocations: 7.938 kB / 415.3 MB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01046, allocations: 15.92 kB / 415.3 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01046, allocations: 4 kB / 415.3 MB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01046, allocations: 0 / 415.3 MB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.01072, allocations: 384.3 kB / 415.7 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01073, allocations: 15.86 kB / 415.7 MB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.01076, allocations: 15.92 kB / 415.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.01083, allocations: 4 kB / 415.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.01087, allocations: 23.91 kB / 415.8 MB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.01089, allocations: 8 kB / 415.8 MB, free: 8.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.01105, allocations: 267 kB / 416 MB, free: 8.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01105, allocations: 0 / 416 MB, free: 8.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.01127, allocations: 43.94 kB / 416.1 MB, free: 8.621 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.00111/0.01238, allocations: 1.312 MB / 417.4 MB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.01257, allocations: 119.9 kB / 417.5 MB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01257, allocations: 0 / 417.5 MB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.581e-05/0.01265, allocations: 63.84 kB / 417.6 MB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.01301, allocations: 56.69 kB / 417.6 MB, free: 7.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.01486, allocations: 2.488 MB / 420.1 MB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.01509, allocations: 145 kB / 420.3 MB, free: 4.309 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.01515, allocations: 33.61 kB / 420.3 MB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.01523, allocations: 72.47 kB / 420.4 MB, free: 4.199 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01523, allocations: 4 kB / 420.4 MB, free: 4.195 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.03171, allocations: 6.384 MB / 426.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.569/6.6, allocations: 4 kB / 426.8 MB, free: 13.68 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.564004085958004]