Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.0008265/0.0008265, 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.0008687/0.0008687, 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.864/0.864, allocations: 158.6 MB / 185 MB, free: 3.031 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.1374/0.1374, 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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.326e-05, allocations: 2.281 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002195/0.002208, allocations: 1.687 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.003153, allocations: 0.7803 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.003234, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.003564, allocations: 103.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.003773, allocations: 95.58 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.00398, allocations: 83.7 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.004138, allocations: 115.7 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.004222, allocations: 4.234 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.004304, allocations: 67.75 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.004394, allocations: 63.86 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.004411, allocations: 4 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.004546, allocations: 39.92 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.004594, allocations: 27.86 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.004631, allocations: 27.91 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.004808, allocations: 119.6 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.004809, allocations: 0 / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00481, allocations: 7.875 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.004814, allocations: 0 / 410.1 MB, free: 14.93 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.0004456/0.00526, allocations: 361.4 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.005302, allocations: 8.031 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.005332, allocations: 38.75 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.005361, allocations: 12.84 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.005532, allocations: 154.4 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.005542, allocations: 4.375 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.005559, allocations: 384 / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.005673, allocations: 57.98 kB / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.005683, allocations: 0 / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.005691, allocations: 4 kB / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.005695, allocations: 0 / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.005747, allocations: 31.91 kB / 410.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.00603, allocations: 259.9 kB / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.0062, allocations: 62.66 kB / 411.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.006236, allocations: 20.86 kB / 411.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.006252, allocations: 4 kB / 411.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.006368, allocations: 71.31 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.006369, allocations: 0 / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003926/0.006762, allocations: 189.3 kB / 411.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.006789, allocations: 55.41 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.006936, allocations: 249.9 kB / 411.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.00695, allocations: 29.69 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.006996, allocations: 112.1 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.007065, allocations: 35.72 kB / 411.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.007119, allocations: 17.72 kB / 411.9 MB, free: 13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.007213, allocations: 338.8 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.007292, allocations: 12 kB / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.078e-05/0.007343, allocations: 37.7 kB / 412.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.185e-05/0.007425, allocations: 65.64 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.007427, allocations: 0 / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001588/0.007585, allocations: 109.6 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.0076, allocations: 11.97 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.007605, allocations: 0 / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.00762, allocations: 4 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.007694, allocations: 16.17 kB / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.007699, allocations: 0 / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.007739, allocations: 7.938 kB / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.007746, allocations: 4 kB / 412.5 MB, free: 12.38 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 0.0001001/0.007847, allocations: 133.8 kB / 412.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.007875, allocations: 15.91 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.008128, allocations: 127.1 kB / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.008133, allocations: 4 kB / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.008138, allocations: 0 / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-06/0.008143, allocations: 3.984 kB / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.008489, allocations: 370.4 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.008492, allocations: 4 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.008521, allocations: 8 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.008524, allocations: 0 / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.008534, allocations: 12.31 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.008538, allocations: 0 / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.00854, allocations: 11.97 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.008688, allocations: 216.2 kB / 413.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.008707, allocations: 11.91 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.008724, allocations: 4 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.008768, allocations: 4 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.0088, allocations: 11.92 kB / 413.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.008818, allocations: 4 kB / 413.4 MB, free: 11.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.008937, allocations: 184.4 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008937, allocations: 0 / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.009139, allocations: 31.86 kB / 413.6 MB, free: 11.16 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.001139/0.01028, allocations: 1.138 MB / 414.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.01042, allocations: 55.92 kB / 414.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01043, allocations: 64 / 414.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.01047, allocations: 39.92 kB / 414.8 MB, free: 9.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.01073, allocations: 28.22 kB / 414.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.0123, allocations: 1.779 MB / 416.6 MB, free: 8.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.788e-05/0.01237, allocations: 104.7 kB / 416.7 MB, free: 7.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.01243, allocations: 20.55 kB / 416.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.01249, allocations: 40.48 kB / 416.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01249, allocations: 0 / 416.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.02869, allocations: 4.447 MB / 421.2 MB, free: 3.266 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/6.508, allocations: 11.91 kB / 421.3 MB, free: 3.254 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.46915673930198]