Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.0008584/0.0008584, 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.0008175/0.0008175, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.8832/0.8832, 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.1367/0.1367, 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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.858e-05, allocations: 5.938 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002386/0.002415, allocations: 1.68 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.00365, allocations: 0.7725 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.003724, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.004084, allocations: 115.6 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.004328, allocations: 87.64 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.004533, allocations: 87.69 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.004699, allocations: 111.7 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.004795, allocations: 16.16 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.004886, allocations: 67.81 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004987, allocations: 67.86 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.005006, allocations: 4 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.005087, allocations: 47.91 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.005143, allocations: 31.86 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.005187, allocations: 19.92 kB / 410 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.005392, allocations: 139.4 kB / 410.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.005396, allocations: 0 / 410.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.005398, allocations: 3.938 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005402, allocations: 0 / 410.2 MB, free: 14.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004711/0.005873, allocations: 365.5 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.00592, allocations: 12.03 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.005948, allocations: 30.75 kB / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.005985, allocations: 16.84 kB / 410.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.006213, allocations: 165.2 kB / 410.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.006226, allocations: 4.375 kB / 410.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.006245, allocations: 384 / 410.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.006379, allocations: 77.91 kB / 410.8 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.00639, allocations: 3.953 kB / 410.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.006398, allocations: 0 / 410.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.006403, allocations: 0 / 410.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.006481, allocations: 35.91 kB / 410.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.006818, allocations: 279.9 kB / 411.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.006978, allocations: 70.61 kB / 411.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.007019, allocations: 24.84 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.007038, allocations: 4 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.007171, allocations: 71.38 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/0.007174, allocations: 3.984 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004688/0.007643, allocations: 225.6 kB / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.007675, allocations: 55.41 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.007843, allocations: 254.5 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.007859, allocations: 33.7 kB / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.007909, allocations: 104.1 kB / 412 MB, free: 12.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.007938, allocations: 35.81 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.007973, allocations: 29.7 kB / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.008055, allocations: 330.8 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.58e-05/0.0081, allocations: 23.98 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.266e-05/0.008153, allocations: 49.64 kB / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.451e-05/0.008237, allocations: 77.73 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.008239, allocations: 0 / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001475/0.008386, allocations: 125.5 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.0084, allocations: 8 kB / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.008405, allocations: 0 / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.008417, allocations: 0 / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.008489, allocations: 19.94 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.008495, allocations: 4.062 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.008526, allocations: 11.98 kB / 412.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.008532, allocations: 0 / 412.7 MB, free: 12.18 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 (11): * Single equations (assignments): 11 * 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.99e-05/0.008612, allocations: 141.8 kB / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.008627, allocations: 15.91 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.008815, allocations: 155.1 kB / 413 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008817, allocations: 0 / 413 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008821, allocations: 0 / 413 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008824, allocations: 0 / 413 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.009161, allocations: 402.3 kB / 413.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009163, allocations: 0 / 413.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.009194, allocations: 16 kB / 413.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.009196, allocations: 4.031 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.009205, allocations: 4 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.009207, allocations: 3.938 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.009209, allocations: 3.938 kB / 413.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.009363, allocations: 236.2 kB / 413.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.009377, allocations: 7.953 kB / 413.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.009396, allocations: 11.98 kB / 413.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.009435, allocations: 0 / 413.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.009467, allocations: 16.11 kB / 413.7 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.009481, allocations: 4 kB / 413.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.009586, allocations: 203.9 kB / 413.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009586, allocations: 0 / 413.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000176/0.009762, allocations: 35.88 kB / 413.9 MB, free: 10.86 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 (11): * Single equations (assignments): 9 * 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.001044/0.01081, allocations: 1.156 MB / 415.1 MB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.01097, allocations: 75.91 kB / 415.1 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01098, allocations: 0 / 415.1 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.113e-05/0.01104, allocations: 35.92 kB / 415.2 MB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.0113, allocations: 39.84 kB / 415.2 MB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.01306, allocations: 1.853 MB / 417.1 MB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.01313, allocations: 109.9 kB / 417.2 MB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.01318, allocations: 20.91 kB / 417.2 MB, free: 7.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.01325, allocations: 48.47 kB / 417.2 MB, free: 7.414 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01325, allocations: 0 / 417.2 MB, free: 7.414 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.02906, allocations: 4.663 MB / 421.9 MB, free: 2.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.484/6.513, allocations: 7.969 kB / 421.9 MB, free: 2.613 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.520083550363779]