Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.0007623/0.0007623, 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.0007905/0.0007905, 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.8901/0.8901, 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.1375/0.1375, 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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.35e-05, allocations: 5.938 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002224/0.002248, allocations: 1.68 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003306, allocations: 0.7803 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.003367, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.003672, allocations: 91.62 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.003866, allocations: 67.67 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.004053, allocations: 95.7 kB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.004195, allocations: 115.6 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.004279, allocations: 4.234 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.004356, allocations: 59.83 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.004443, allocations: 59.86 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.004462, allocations: 4 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.004532, allocations: 39.91 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.004583, allocations: 31.86 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.004624, allocations: 15.94 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.004787, allocations: 119.5 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.00479, allocations: 4 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004791, allocations: 3.938 kB / 410.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004796, allocations: 4 kB / 410.1 MB, free: 14.97 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004846/0.00528, allocations: 345.5 kB / 410.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.005318, allocations: 15.97 kB / 410.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.465e-05/0.005342, allocations: 30.75 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.005367, allocations: 12.84 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.005553, allocations: 145.6 kB / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.005568, allocations: 384 / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.005585, allocations: 8.375 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.005694, allocations: 61.92 kB / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.005703, allocations: 0 / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.005712, allocations: 4 kB / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.005716, allocations: 0 / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.005772, allocations: 23.97 kB / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.006054, allocations: 263.9 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.006167, allocations: 62.62 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.0062, allocations: 20.84 kB / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.006215, allocations: 4 kB / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.006327, allocations: 67.39 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.006328, allocations: 0 / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003829/0.006711, allocations: 193.3 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.00674, allocations: 51.41 kB / 411.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.006871, allocations: 210.8 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.006885, allocations: 33.7 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.006931, allocations: 100.1 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.006956, allocations: 27.78 kB / 411.7 MB, free: 13.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.006987, allocations: 25.72 kB / 411.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.007228, allocations: 330.8 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.007261, allocations: 23.98 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.007301, allocations: 33.7 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.007374, allocations: 65.64 kB / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.007375, allocations: 0 / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001088/0.007484, allocations: 105.6 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.007495, allocations: 4 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.007501, allocations: 4.062 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.007512, allocations: 8.031 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.007572, allocations: 12.19 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.007577, allocations: 3.984 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.007604, allocations: 15.88 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.00761, allocations: 7.984 kB / 412.4 MB, free: 12.49 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 (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 7.656e-05/0.007687, allocations: 125.8 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.007698, allocations: 11.95 kB / 412.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.007852, allocations: 123 kB / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.007856, allocations: 4 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.00786, allocations: 4 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.007863, allocations: 0 / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.008151, allocations: 374.3 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008153, allocations: 0 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.008175, allocations: 11.94 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.008177, allocations: 0 / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.008186, allocations: 8.375 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.008188, allocations: 0 / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.008191, allocations: 11.92 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.008321, allocations: 212.2 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.008332, allocations: 11.98 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.008347, allocations: 4 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.008385, allocations: 7.984 kB / 413.2 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.008421, allocations: 7.938 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.008434, allocations: 7.984 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.008518, allocations: 167.2 kB / 413.4 MB, free: 11.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008518, allocations: 0 / 413.4 MB, free: 11.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.008683, allocations: 23.94 kB / 413.4 MB, free: 11.31 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 (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.0009772/0.00966, allocations: 1.129 MB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.009784, allocations: 63.91 kB / 414.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.009785, allocations: 0 / 414.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.034e-05/0.009825, allocations: 27.92 kB / 414.7 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01005, allocations: 32.36 kB / 414.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.01155, allocations: 1.709 MB / 416.4 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.642e-05/0.01162, allocations: 96.8 kB / 416.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.74e-05/0.01166, allocations: 16.48 kB / 416.5 MB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.01171, allocations: 36.48 kB / 416.6 MB, free: 8.09 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01171, allocations: 4 kB / 416.6 MB, free: 8.086 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.02753, allocations: 4.31 MB / 420.9 MB, free: 3.645 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.492/6.52, allocations: 11.91 kB / 420.9 MB, free: 3.633 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.522580779157579]