Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.00107/0.00107, allocations: 76.53 kB / 19.92 MB, free: 4.637 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.0009161/0.0009161, allocations: 169.9 kB / 23.21 MB, free: 1.359 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.87/0.87, allocations: 158.6 MB / 185 MB, free: 3.035 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.1333/0.1333, 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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 406.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.587e-05, allocations: 14.02 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002237/0.002263, allocations: 1.75 MB / 408.7 MB, free: 412 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.003824, allocations: 1.552 MB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.003908, allocations: 0 / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.004229, allocations: 55.62 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.004528, allocations: 99.41 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.004797, allocations: 143.6 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.005017, allocations: 187.3 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.005069, allocations: 13.8 kB / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.005185, allocations: 95.73 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.005293, allocations: 51.81 kB / 410.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.005316, allocations: 8 kB / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.005434, allocations: 63.91 kB / 410.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.005495, allocations: 35.84 kB / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.005542, allocations: 39.8 kB / 411 MB, free: 14.06 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.005769, allocations: 183.3 kB / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.005773, allocations: 0 / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005774, allocations: 0 / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.00578, allocations: 0 / 411.2 MB, free: 13.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005364/0.006316, allocations: 397.3 kB / 411.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.006361, allocations: 8.031 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.006395, allocations: 38.69 kB / 411.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.006442, allocations: 16.84 kB / 411.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.006738, allocations: 189.1 kB / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.006756, allocations: 4.375 kB / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.006768, allocations: 384 / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.006984, allocations: 152.8 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.006994, allocations: 7.938 kB / 412 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.007005, allocations: 4 kB / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.00701, allocations: 0 / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.007084, allocations: 43.89 kB / 412 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.007279, allocations: 181.6 kB / 412.2 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.007443, allocations: 101.2 kB / 412.3 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.007497, allocations: 37.7 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.00751, allocations: 7.984 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.007666, allocations: 113 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 8.51e-07/0.007667, allocations: 0 / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002851/0.007952, allocations: 177.5 kB / 412.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.008008, allocations: 132.5 kB / 412.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.008176, allocations: 219.9 kB / 413 MB, free: 11.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.008192, allocations: 29.69 kB / 413 MB, free: 11.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.008245, allocations: 112.1 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.008283, allocations: 35.73 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.008323, allocations: 33.7 kB / 413.2 MB, free: 11.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.008414, allocations: 326.8 kB / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.008469, allocations: 27.98 kB / 413.5 MB, free: 11.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.00855, allocations: 124.5 kB / 413.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.008662, allocations: 95.34 kB / 413.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.008665, allocations: 0 / 413.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001682/0.008833, allocations: 145.5 kB / 413.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.008847, allocations: 4 kB / 413.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.008853, allocations: 4 kB / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.008866, allocations: 0 / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.008948, allocations: 28.55 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.008954, allocations: 0 / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.009015, allocations: 11.95 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.009024, allocations: 4 kB / 413.9 MB, free: 10.82 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 8.363e-05/0.009107, allocations: 137.7 kB / 414.1 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.009131, allocations: 23.84 kB / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.009359, allocations: 170.7 kB / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.009362, allocations: 0 / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.009367, allocations: 4 kB / 414.2 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.00937, allocations: 0 / 414.2 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.009506, allocations: 184.6 kB / 414.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.009509, allocations: 0 / 414.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.009542, allocations: 11.94 kB / 414.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.009546, allocations: 3.938 kB / 414.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.009556, allocations: 7.984 kB / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.009557, allocations: 0 / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009558, allocations: 4 kB / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.009741, allocations: 173.9 kB / 414.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.009761, allocations: 23.83 kB / 414.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.009783, allocations: 4 kB / 414.7 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.009817, allocations: 4 kB / 414.7 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.009857, allocations: 15.92 kB / 414.7 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.009876, allocations: 7.984 kB / 414.7 MB, free: 9.977 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.009984, allocations: 169.5 kB / 414.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009984, allocations: 0 / 414.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.01019, allocations: 35.94 kB / 414.9 MB, free: 9.777 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001067/0.01125, allocations: 1.099 MB / 416 MB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.01145, allocations: 91.83 kB / 416.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01145, allocations: 0 / 416.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.01151, allocations: 44.47 kB / 416.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.01176, allocations: 63.67 kB / 416.2 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.01339, allocations: 1.856 MB / 418 MB, free: 6.527 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.277e-05/0.01346, allocations: 110.2 kB / 418.1 MB, free: 6.398 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.09e-05/0.01355, allocations: 29.45 kB / 418.2 MB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.01363, allocations: 52.47 kB / 418.2 MB, free: 6.316 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01363, allocations: 0 / 418.2 MB, free: 6.316 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.0332, allocations: 5.741 MB / 424 MB, free: 432 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/6.595, allocations: 8 kB / 424 MB, free: 424 kB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.58765356708318]