Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.001273/0.001273, allocations: 80.53 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.0008396/0.0008396, allocations: 173.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.8343/0.8343, 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.1286/0.1286, 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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 406.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.592e-05, allocations: 5.938 kB / 406.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002143/0.002158, allocations: 1.676 MB / 408.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.003002, allocations: 0.7841 MB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.003058, allocations: 0 / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.003307, allocations: 39.77 kB / 409.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.003489, allocations: 55.64 kB / 409.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.003648, allocations: 91.69 kB / 409.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.00378, allocations: 99.62 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.169e-05/0.003862, allocations: 12.22 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.003927, allocations: 47.84 kB / 409.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.003988, allocations: 27.91 kB / 409.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.004004, allocations: 4 kB / 409.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.004069, allocations: 39.92 kB / 409.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.004116, allocations: 19.92 kB / 409.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.004156, allocations: 31.84 kB / 409.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.004314, allocations: 107.6 kB / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004315, allocations: 0 / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004316, allocations: 0 / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.00432, allocations: 4 kB / 410 MB, free: 10.39 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.0003816/0.004701, allocations: 349.5 kB / 410.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.004739, allocations: 8.031 kB / 410.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.553e-05/0.004764, allocations: 30.75 kB / 410.3 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.004791, allocations: 12.84 kB / 410.3 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.004947, allocations: 147.8 kB / 410.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/0.004955, allocations: 384 / 410.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.004972, allocations: 4.375 kB / 410.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.005074, allocations: 57.98 kB / 410.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.005083, allocations: 0 / 410.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.00509, allocations: 4 kB / 410.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005096, allocations: 7.984 kB / 410.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.005141, allocations: 23.86 kB / 410.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.005394, allocations: 256 kB / 410.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.00551, allocations: 58.67 kB / 410.9 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.005542, allocations: 20.84 kB / 410.9 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.005554, allocations: 4 kB / 410.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.005657, allocations: 71.33 kB / 411 MB, free: 9.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.005658, allocations: 4 kB / 411 MB, free: 9.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003634/0.006021, allocations: 181.3 kB / 411.2 MB, free: 9.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.00605, allocations: 55.41 kB / 411.2 MB, free: 8.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.006176, allocations: 190.2 kB / 411.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.006189, allocations: 25.7 kB / 411.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.006231, allocations: 100.1 kB / 411.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.006255, allocations: 27.78 kB / 411.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.006286, allocations: 25.72 kB / 411.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.006364, allocations: 326.8 kB / 411.9 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-05/0.006402, allocations: 23.98 kB / 411.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.006441, allocations: 37.7 kB / 412 MB, free: 8.191 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.006512, allocations: 65.62 kB / 412 MB, free: 8.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.006513, allocations: 0 / 412 MB, free: 8.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001067/0.006619, allocations: 101.6 kB / 412.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.006631, allocations: 6.656 kB / 412.1 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006635, allocations: 0 / 412.1 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.006647, allocations: 4 kB / 412.1 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.006704, allocations: 19.92 kB / 412.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.006708, allocations: 4.031 kB / 412.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.006734, allocations: 8.188 kB / 412.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.006739, allocations: 160 / 412.2 MB, free: 7.977 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.23e-05/0.006802, allocations: 133.7 kB / 412.3 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.006813, allocations: 7.953 kB / 412.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.006971, allocations: 122.4 kB / 412.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.006973, allocations: 4 kB / 412.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.006977, allocations: 0 / 412.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.006981, allocations: 3.984 kB / 412.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.007246, allocations: 374.3 kB / 412.8 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.007247, allocations: 0 / 412.8 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.007268, allocations: 15.98 kB / 412.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.00727, allocations: 3.938 kB / 412.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.007277, allocations: 0 / 412.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007279, allocations: 7.938 kB / 412.8 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.007281, allocations: 3.938 kB / 412.8 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.007413, allocations: 208.3 kB / 413 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.007425, allocations: 15.89 kB / 413 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.007439, allocations: 4.375 kB / 413.1 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.007475, allocations: 4.031 kB / 413.1 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.007504, allocations: 11.92 kB / 413.1 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.007517, allocations: 8 kB / 413.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/0.007587, allocations: 151.2 kB / 413.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007587, allocations: 0 / 413.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.00775, allocations: 23.94 kB / 413.2 MB, free: 6.805 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.0009333/0.008683, allocations: 1.127 MB / 414.4 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.008799, allocations: 59.91 kB / 414.4 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008801, allocations: 3.938 kB / 414.4 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.009128, allocations: 31.92 kB / 414.5 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.009352, allocations: 27.92 kB / 414.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.01046, allocations: 1.659 MB / 416.2 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.386e-05/0.01051, allocations: 88.31 kB / 416.2 MB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.426e-05/0.01054, allocations: 16.47 kB / 416.3 MB, free: 3.711 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.01059, allocations: 36.48 kB / 416.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01059, allocations: 0 / 416.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.02681, allocations: 4.209 MB / 420.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.487/6.514, allocations: 0 / 420.5 MB, free: 15.35 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.393278134986758]