Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.0009125/0.0009125, 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.0008586/0.0008586, 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.8424/0.8424, allocations: 158.6 MB / 185 MB, free: 3.016 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.1243/0.1243, 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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.086e-05, allocations: 2.281 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002013/0.002034, allocations: 1.645 MB / 408.6 MB, free: 500 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.002858, allocations: 0.757 MB / 409.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.002923, allocations: 4 kB / 409.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.003198, allocations: 51.7 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.003384, allocations: 63.75 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.003551, allocations: 87.7 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003686, allocations: 95.62 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.003726, allocations: 3.984 kB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.003801, allocations: 47.84 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.003868, allocations: 19.92 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.003885, allocations: 8 kB / 409.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.00395, allocations: 43.84 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.004001, allocations: 23.92 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.004036, allocations: 19.88 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.004178, allocations: 107.6 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.00418, allocations: 0 / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004181, allocations: 7.938 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004185, allocations: 0 / 409.9 MB, free: 15.15 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003705/0.004555, allocations: 349.5 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.00459, allocations: 8.031 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.00462, allocations: 46.73 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.004651, allocations: 12.84 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.005117, allocations: 157.2 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.005129, allocations: 8.312 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.005137, allocations: 4.312 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005255, allocations: 61.97 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.005262, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.005269, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.005273, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.005318, allocations: 15.98 kB / 410.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.005459, allocations: 156.7 kB / 410.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.005565, allocations: 58.55 kB / 410.8 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.005598, allocations: 20.84 kB / 410.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.005611, allocations: 0 / 410.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.005726, allocations: 75.33 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.005727, allocations: 0 / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001953/0.005923, allocations: 101.6 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.005953, allocations: 63.34 kB / 411 MB, free: 13.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.006109, allocations: 263.5 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.00612, allocations: 25.7 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.006164, allocations: 112.1 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.00619, allocations: 11.95 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.006217, allocations: 17.72 kB / 411.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.006297, allocations: 326.8 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.006327, allocations: 19.98 kB / 411.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.006359, allocations: 29.7 kB / 411.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.006416, allocations: 45.7 kB / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006418, allocations: 0 / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.789e-05/0.006506, allocations: 93.47 kB / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.006517, allocations: 4 kB / 411.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006522, allocations: 7.984 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.006532, allocations: 0 / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.221e-05/0.006584, allocations: 8 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.00659, allocations: 3.938 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.006618, allocations: 7.953 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.006624, allocations: 4 kB / 412 MB, free: 12.86 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 (7): * Single equations (assignments): 7 * 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.719e-05/0.006691, allocations: 129.8 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.006705, allocations: 23.88 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.006836, allocations: 102.8 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006838, allocations: 4 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006842, allocations: 4.312 kB / 412.2 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006844, allocations: 0 / 412.2 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.279e-05/0.006937, allocations: 160.7 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.00694, allocations: 8 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.006953, allocations: 4 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006955, allocations: 7.875 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.006963, allocations: 7.984 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.006964, allocations: 4 kB / 412.4 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.006964, allocations: 0 / 412.4 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/0.007058, allocations: 117 kB / 412.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.007074, allocations: 19.84 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.007086, allocations: 0 / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.007103, allocations: 4 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.007127, allocations: 3.984 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.007137, allocations: 4 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.007239, allocations: 203.3 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007239, allocations: 0 / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.007383, allocations: 24 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008344/0.008218, allocations: 0.9897 MB / 413.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.008323, allocations: 47.91 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.008324, allocations: 0 / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.008357, allocations: 20 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.008532, allocations: 35.69 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.009613, allocations: 1.662 MB / 415.5 MB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.49e-05/0.009668, allocations: 100.8 kB / 415.6 MB, free: 9.012 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.009701, allocations: 12.59 kB / 415.7 MB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.009749, allocations: 48.42 kB / 415.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.009749, allocations: 0 / 415.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.02342, allocations: 4.218 MB / 419.9 MB, free: 4.605 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.365/6.389, allocations: 12 kB / 419.9 MB, free: 4.594 MB / 394.7 MB " [Timeout remaining time 654] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.305705324746668]