Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008065/0.0008065, 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.0008765/0.0008765, 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.849/0.849, allocations: 158.6 MB / 185 MB, free: 3.047 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.1335/0.1335, 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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.15e-05, allocations: 6.078 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002255/0.002266, allocations: 1.872 MB / 408.8 MB, free: 280 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003348, allocations: 0.8154 MB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.00343, allocations: 4 kB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.003704, allocations: 43.59 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.003894, allocations: 59.58 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.004089, allocations: 119.6 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.004252, allocations: 143.5 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.004357, allocations: 25.66 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.004442, allocations: 75.81 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.004518, allocations: 31.89 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.004538, allocations: 8 kB / 410.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.004615, allocations: 51.86 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.004669, allocations: 27.84 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.00472, allocations: 31.86 kB / 410.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.004913, allocations: 147.5 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004915, allocations: 0 / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004916, allocations: 4 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.00492, allocations: 4 kB / 410.4 MB, free: 14.68 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.0004714/0.005391, allocations: 395.1 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.00543, allocations: 12.03 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.005458, allocations: 38.69 kB / 410.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.005493, allocations: 20.83 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.00568, allocations: 161.5 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.005694, allocations: 8.375 kB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.005713, allocations: 12.36 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.005885, allocations: 142.2 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005892, allocations: 0 / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.005901, allocations: 0 / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.005908, allocations: 4 kB / 411.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.598e-05/0.005994, allocations: 47.97 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.006381, allocations: 480 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.006591, allocations: 94.59 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.006638, allocations: 32.84 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.006652, allocations: 0 / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.006786, allocations: 109.1 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 7.61e-07/0.006786, allocations: 0 / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002467/0.007033, allocations: 153.5 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.007059, allocations: 55.41 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.007435, allocations: 195.5 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.007449, allocations: 29.7 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.007505, allocations: 116 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.007523, allocations: 27.8 kB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.007557, allocations: 29.72 kB / 412.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.007631, allocations: 330.8 kB / 412.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.007679, allocations: 27.92 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.007735, allocations: 68.27 kB / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.00784, allocations: 108.5 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.007843, allocations: 0 / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001532/0.007996, allocations: 137.4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.008007, allocations: 4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.008011, allocations: 0 / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.008022, allocations: 4.125 kB / 413.2 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.008074, allocations: 27.92 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.008081, allocations: 4 kB / 413.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.008117, allocations: 19.83 kB / 413.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.008124, 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.937e-05/0.008194, allocations: 125.8 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.008207, allocations: 15.91 kB / 413.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.008372, allocations: 135 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008373, allocations: 0 / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008377, allocations: 4 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.008381, allocations: 3.938 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.008488, allocations: 176.7 kB / 413.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.008489, allocations: 0 / 413.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.008531, allocations: 15.94 kB / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008532, allocations: 0 / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.008541, allocations: 4 kB / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.008542, allocations: 0 / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008543, allocations: 0 / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.008754, allocations: 201 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.008771, allocations: 19.88 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.008787, allocations: 7.984 kB / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.475e-05/0.008812, allocations: 7.938 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.008843, allocations: 7.984 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.008856, allocations: 7.938 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.177e-05/0.008938, allocations: 145.1 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008938, allocations: 0 / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.009098, 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.0009236/0.01002, allocations: 1.056 MB / 415.1 MB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.01017, allocations: 83.83 kB / 415.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01017, allocations: 0 / 415.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.01022, allocations: 31.97 kB / 415.3 MB, free: 9.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.01041, allocations: 47.83 kB / 415.3 MB, free: 9.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.01168, allocations: 1.755 MB / 417.1 MB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.01174, allocations: 102.8 kB / 417.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.01179, allocations: 21.12 kB / 417.2 MB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.01184, allocations: 40.48 kB / 417.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01184, allocations: 0 / 417.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.02685, allocations: 4.649 MB / 421.9 MB, free: 2.578 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/6.639, allocations: 11.91 kB / 421.9 MB, free: 2.566 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.554988107644022]