Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.0008643/0.0008643, 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.0009142/0.0009142, 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.8692/0.8692, 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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.93e-05, allocations: 5.938 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002169/0.002188, allocations: 1.868 MB / 408.8 MB, free: 280 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009128/0.003101, allocations: 0.8154 MB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.003184, allocations: 0 / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.003478, allocations: 47.58 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.003666, allocations: 63.58 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.003865, allocations: 111.7 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.004029, allocations: 139.5 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.004131, allocations: 25.66 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.004216, allocations: 71.77 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.004299, allocations: 35.89 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.004319, allocations: 8 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.004391, allocations: 43.92 kB / 410.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.004452, allocations: 35.83 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.004498, allocations: 27.88 kB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.004696, allocations: 151.4 kB / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004698, allocations: 4 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004699, allocations: 0 / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.004703, allocations: 0 / 410.4 MB, free: 14.69 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004564/0.00516, allocations: 403.1 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.005197, allocations: 8.031 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.005231, allocations: 38.75 kB / 410.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.005274, allocations: 16.84 kB / 410.8 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.005502, allocations: 169.4 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.005514, allocations: 8.375 kB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.005533, allocations: 8.375 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.005709, allocations: 134.2 kB / 411.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.005718, allocations: 4 kB / 411.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.005729, allocations: 0 / 411.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.005733, allocations: 0 / 411.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-05/0.005823, allocations: 55.89 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.006231, allocations: 476 kB / 411.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.006445, allocations: 90.66 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.006497, allocations: 40.83 kB / 411.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.006512, allocations: 3.984 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.006658, allocations: 109 kB / 411.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.006659, allocations: 0 / 411.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002466/0.006905, allocations: 149.5 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.006932, allocations: 59.34 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.007053, allocations: 195.5 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.007064, allocations: 25.7 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.007122, allocations: 120 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.007141, allocations: 27.8 kB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.007175, allocations: 25.72 kB / 412.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.007265, allocations: 326.8 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.007315, allocations: 27.97 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.007374, allocations: 68.28 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.007484, allocations: 116.5 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.007487, allocations: 0 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001507/0.007637, allocations: 133.4 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.00765, allocations: 8 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.007654, allocations: 128 / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.007665, allocations: 4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.007721, allocations: 23.98 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.007726, allocations: 0 / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.007765, allocations: 27.81 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.007772, allocations: 4 kB / 413.2 MB, free: 11.58 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 6.983e-05/0.007842, allocations: 125.8 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.007856, allocations: 15.91 kB / 413.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.008031, allocations: 135 kB / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.008035, allocations: 8 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.008038, allocations: 0 / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.008043, allocations: 3.938 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.008155, allocations: 168.7 kB / 413.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008156, allocations: 0 / 413.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.008205, allocations: 15.98 kB / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.008207, allocations: 0 / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.008216, allocations: 8 kB / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.008218, allocations: 0 / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008219, allocations: 0 / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.008522, allocations: 201 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.008539, allocations: 19.88 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.008553, allocations: 3.938 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.889e-05/0.008582, allocations: 7.984 kB / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.008614, allocations: 11.98 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.008628, allocations: 7.938 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.306e-05/0.008701, allocations: 149.1 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008701, allocations: 0 / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.008853, allocations: 24 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009263/0.009779, allocations: 1.058 MB / 415.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.009924, allocations: 79.89 kB / 415.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009926, allocations: 0 / 415.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.342e-05/0.009979, allocations: 35.92 kB / 415.3 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.01018, allocations: 43.75 kB / 415.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.01142, allocations: 1.754 MB / 417.1 MB, free: 7.551 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.713e-05/0.01148, allocations: 102.8 kB / 417.2 MB, free: 7.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.872e-05/0.01153, allocations: 25.12 kB / 417.2 MB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.01158, allocations: 40.48 kB / 417.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01158, allocations: 0 / 417.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.02946, allocations: 4.651 MB / 421.9 MB, free: 2.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/6.559, allocations: 7.844 kB / 421.9 MB, free: 2.566 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.50393398758024]