Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.0008858/0.0008858, allocations: 80.48 kB / 19.92 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.0008694/0.0008694, allocations: 169.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.826/0.826, allocations: 158.6 MB / 185 MB, free: 3.023 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.121/0.121, allocations: 32.36 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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.692e-05, allocations: 2.281 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002326/0.002343, allocations: 1.672 MB / 408.6 MB, free: 488 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.003282, allocations: 0.7843 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.003348, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.00364, allocations: 43.7 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.003845, allocations: 55.69 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.004029, allocations: 91.7 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.004185, allocations: 103.6 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004294, allocations: 8.219 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.004371, allocations: 51.84 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.004436, allocations: 19.91 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.004455, allocations: 7.984 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.004528, allocations: 47.86 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.004577, allocations: 19.94 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.004618, allocations: 19.92 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.00478, allocations: 115.5 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004782, allocations: 3.938 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004783, allocations: 0 / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004787, allocations: 4 kB / 410 MB, free: 15.1 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.0003989/0.005186, allocations: 333.7 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.005222, allocations: 12.03 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.00525, allocations: 30.75 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.005279, allocations: 12.84 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.00546, allocations: 146.3 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.005472, allocations: 384 / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.005493, allocations: 4.375 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.005642, allocations: 61.92 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.005655, allocations: 7.984 kB / 410.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.005665, allocations: 3.984 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.005669, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.367e-05/0.005722, allocations: 23.98 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.006016, allocations: 252 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.006131, allocations: 58.62 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.006167, allocations: 20.84 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.006181, allocations: 3.938 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.006301, allocations: 71.39 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.006302, allocations: 4 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004069/0.006709, allocations: 189.3 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.006739, allocations: 51.41 kB / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.006863, allocations: 190.2 kB / 411.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.006877, allocations: 33.69 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.006922, allocations: 100.1 kB / 411.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.006946, allocations: 23.78 kB / 411.6 MB, free: 13.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.006977, allocations: 25.72 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.007059, allocations: 326.8 kB / 411.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.37e-05/0.007093, allocations: 23.98 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/0.007136, allocations: 41.64 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.1e-05/0.007207, allocations: 61.7 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.007208, allocations: 0 / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001128/0.00732, allocations: 105.6 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.007333, allocations: 7.984 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007339, allocations: 80 / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.007349, allocations: 192 / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.007411, allocations: 16 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.007417, allocations: 11.95 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.007445, allocations: 11.98 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.00745, allocations: 0 / 412.2 MB, free: 12.68 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.851e-05/0.007529, allocations: 129.7 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.007539, allocations: 7.953 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.007689, allocations: 122.4 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007692, allocations: 3.984 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.007695, allocations: 0 / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007698, allocations: 4 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.007976, allocations: 370.3 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.007979, allocations: 3.984 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.008, allocations: 8 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008001, allocations: 4 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-06/0.008008, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008009, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.008012, allocations: 7.938 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.008143, allocations: 212.2 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.008155, allocations: 15.91 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.008171, allocations: 4.375 kB / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.008207, allocations: 4.031 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.008238, allocations: 11.92 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.008252, allocations: 12 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.349e-05/0.008325, allocations: 144.1 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008325, allocations: 0 / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.008501, allocations: 23.94 kB / 413.2 MB, free: 11.53 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.0009824/0.009484, allocations: 1.129 MB / 414.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.009604, allocations: 59.91 kB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009606, allocations: 0 / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.009648, allocations: 31.92 kB / 414.5 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.009864, allocations: 28.22 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.01108, allocations: 1.662 MB / 416.2 MB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.01114, allocations: 84.31 kB / 416.2 MB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.01118, allocations: 16.48 kB / 416.3 MB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.01123, allocations: 32.48 kB / 416.3 MB, free: 8.367 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.01123, allocations: 0 / 416.3 MB, free: 8.367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.02743, allocations: 4.207 MB / 420.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/6.59, allocations: 11.83 kB / 420.5 MB, free: 4.02 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.485595849342644]