Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.0007975/0.0007975, 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.0008913/0.0008913, 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.8405/0.8405, 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.1305/0.1305, 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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.093e-05, allocations: 6.078 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00248/0.002501, allocations: 1.88 MB / 408.8 MB, free: 280 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003561, allocations: 0.8038 MB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.737e-05/0.003659, allocations: 7.938 kB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.003971, allocations: 51.62 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.004193, allocations: 59.58 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.004455, allocations: 111.6 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.00465, allocations: 143.5 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.004772, allocations: 29.66 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.004872, allocations: 67.83 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.004961, allocations: 39.81 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.004982, allocations: 8 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-05/0.005066, allocations: 51.86 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.005121, allocations: 23.91 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.00517, allocations: 31.86 kB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.005384, allocations: 147.5 kB / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005386, allocations: 0 / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.005389, allocations: 4 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.005393, allocations: 4 kB / 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.0005008/0.005894, allocations: 399.1 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.005934, allocations: 12.03 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.005962, allocations: 34.75 kB / 410.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.006002, allocations: 16.84 kB / 410.8 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.006229, allocations: 165.5 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.006243, allocations: 8.375 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.006262, allocations: 4.375 kB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.006456, allocations: 146.2 kB / 411.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.006463, allocations: 0 / 411.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.006475, allocations: 3.984 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.006481, allocations: 4 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.00657, allocations: 47.97 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.007006, allocations: 484 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.007231, allocations: 94.58 kB / 411.7 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.007281, allocations: 36.78 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.007295, allocations: 0 / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.007442, allocations: 109.1 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.007443, allocations: 0 / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000265/0.007708, allocations: 149.5 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.007738, allocations: 55.41 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.007869, allocations: 187.6 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.007887, allocations: 37.7 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.007948, allocations: 112 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.007968, allocations: 27.8 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.008004, allocations: 33.66 kB / 412.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.008082, allocations: 330.8 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.008133, allocations: 31.98 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.008191, allocations: 60.27 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.008303, allocations: 104.5 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.008305, allocations: 0 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000156/0.008461, allocations: 145.4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.008472, allocations: 4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008477, allocations: 0 / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.008491, allocations: 4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.008546, allocations: 28.05 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008551, allocations: 4 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.00859, allocations: 15.83 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.008596, allocations: 4 kB / 413.2 MB, free: 11.59 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 7.407e-05/0.00867, allocations: 129.8 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.008683, allocations: 11.91 kB / 413.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.008861, allocations: 135 kB / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008863, allocations: 0 / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.008868, allocations: 0 / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.008872, allocations: 7.938 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.008982, allocations: 176.7 kB / 413.6 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008984, allocations: 3.984 kB / 413.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.009033, allocations: 15.94 kB / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.009035, allocations: 0 / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.009043, allocations: 0 / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.009044, allocations: 0 / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.009046, allocations: 3.938 kB / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.009262, allocations: 201 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.009279, allocations: 19.94 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.009295, allocations: 7.984 kB / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/0.009324, allocations: 8 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.009358, allocations: 3.984 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.009373, allocations: 7.938 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.009451, allocations: 149.1 kB / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009451, allocations: 0 / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.009639, 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.0009885/0.01063, allocations: 1.06 MB / 415.1 MB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.01081, allocations: 83.83 kB / 415.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01081, allocations: 0 / 415.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.01087, allocations: 39.91 kB / 415.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01109, allocations: 43.8 kB / 415.3 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.01241, allocations: 1.755 MB / 417.1 MB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.477e-05/0.01248, allocations: 98.77 kB / 417.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.611e-05/0.01253, allocations: 21.14 kB / 417.2 MB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.01259, allocations: 40.48 kB / 417.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01259, allocations: 0 / 417.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.02857, allocations: 4.642 MB / 421.9 MB, free: 2.586 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/6.603, allocations: 15.89 kB / 421.9 MB, free: 2.57 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.51835254766047]