Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.0008783/0.0008783, 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.0009646/0.0009646, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8461/0.8461, 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.1326/0.1326, 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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.398e-05, allocations: 5.938 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002064/0.002078, allocations: 1.808 MB / 408.7 MB, free: 356 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003228, allocations: 0.8699 MB / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.003324, allocations: 0 / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004888/0.003813, allocations: 263.2 kB / 409.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.00415, allocations: 187.2 kB / 410 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.004448, allocations: 151.5 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.004691, allocations: 247.3 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.004816, allocations: 17.78 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.004967, allocations: 147.6 kB / 410.6 MB, free: 14.47 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.005141, allocations: 195.6 kB / 410.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.005166, allocations: 8 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/0.005261, allocations: 39.92 kB / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.005328, allocations: 63.77 kB / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.005375, allocations: 43.8 kB / 410.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.005606, allocations: 215.2 kB / 411.1 MB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005609, allocations: 4 kB / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00561, allocations: 0 / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.005615, allocations: 0 / 411.1 MB, free: 13.91 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.000813/0.006428, allocations: 0.5002 MB / 411.6 MB, free: 13.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.006475, allocations: 12.03 kB / 411.7 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.006518, allocations: 38.73 kB / 411.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.006573, allocations: 28.75 kB / 411.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.006822, allocations: 217.8 kB / 411.9 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.006838, allocations: 4.375 kB / 411.9 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.00686, allocations: 4.375 kB / 411.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.00703, allocations: 107.6 kB / 412 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.007043, allocations: 4 kB / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.007054, allocations: 7.984 kB / 412.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.007061, allocations: 4 kB / 412.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.007142, allocations: 35.97 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.007583, allocations: 424 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.007773, allocations: 129.2 kB / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.007825, allocations: 37.7 kB / 412.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.007839, allocations: 4 kB / 412.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.008004, allocations: 113.1 kB / 412.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.008005, allocations: 0 / 412.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006251/0.00863, allocations: 396.5 kB / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.008672, allocations: 81.11 kB / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.008988, allocations: 489.6 kB / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.009002, allocations: 29.7 kB / 413.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.009086, allocations: 168.3 kB / 413.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.009125, allocations: 47.58 kB / 414 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.009166, allocations: 45.7 kB / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.009261, allocations: 342.8 kB / 414.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.009326, allocations: 47.97 kB / 414.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.009399, allocations: 75.34 kB / 414.5 MB, free: 10.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.009538, allocations: 119.5 kB / 414.6 MB, free: 10.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.009539, allocations: 0 / 414.6 MB, free: 10.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000198/0.009737, allocations: 201.3 kB / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.009749, allocations: 4 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.009753, allocations: 0 / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.009767, allocations: 4 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.009855, allocations: 31.98 kB / 414.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.009863, allocations: 7.938 kB / 414.8 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.009908, allocations: 11.92 kB / 414.8 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.009919, allocations: 8 kB / 414.9 MB, free: 9.949 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.0001089/0.01003, allocations: 169.8 kB / 415 MB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.01005, allocations: 31.88 kB / 415 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.01031, allocations: 224.3 kB / 415.3 MB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01031, allocations: 7.984 kB / 415.3 MB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01032, allocations: 3.938 kB / 415.3 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01032, allocations: 0 / 415.3 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.01085, allocations: 0.6087 MB / 415.9 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01085, allocations: 4 kB / 415.9 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.01089, allocations: 19.98 kB / 415.9 MB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.0109, allocations: 8 kB / 415.9 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01091, allocations: 12 kB / 415.9 MB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.619e-06/0.01092, allocations: 11.92 kB / 415.9 MB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01093, allocations: 0 / 415.9 MB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.0112, allocations: 384.2 kB / 416.3 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.01123, allocations: 23.81 kB / 416.3 MB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.01125, allocations: 11.92 kB / 416.4 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.01132, allocations: 8 kB / 416.4 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.01138, allocations: 19.91 kB / 416.4 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.0114, allocations: 8 kB / 416.4 MB, free: 8.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002355/0.01163, allocations: 371.1 kB / 416.8 MB, free: 7.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01163, allocations: 0 / 416.8 MB, free: 7.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.01186, allocations: 39.94 kB / 416.8 MB, free: 7.918 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.001275/0.01314, allocations: 1.328 MB / 418.1 MB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.01333, allocations: 111.9 kB / 418.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01334, allocations: 0 / 418.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.01341, allocations: 63.89 kB / 418.3 MB, free: 6.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.01375, allocations: 61.25 kB / 418.3 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.01623, allocations: 2.784 MB / 421.1 MB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.01635, allocations: 169.5 kB / 421.3 MB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.391e-05/0.01642, allocations: 33.61 kB / 421.3 MB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.01651, allocations: 84.47 kB / 421.4 MB, free: 3.152 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01651, allocations: 0 / 421.4 MB, free: 3.152 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.03463, allocations: 6.933 MB / 428.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.601/6.635, allocations: 3.938 kB / 428.3 MB, free: 12.08 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.625127702951431]