Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.000981/0.000981, 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.001328/0.001328, allocations: 170.3 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.89/0.89, allocations: 158.6 MB / 185 MB, free: 3.059 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.1356/0.1356, 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.099e-05, allocations: 2.281 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002772/0.002793, allocations: 1.687 MB / 408.6 MB, free: 460 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.003659, allocations: 0.7686 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.003722, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.00401, allocations: 55.69 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.004204, allocations: 55.7 kB / 409.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.004406, allocations: 83.69 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.004555, allocations: 103.6 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.004644, allocations: 12.22 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.004722, allocations: 43.84 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.00479, allocations: 27.91 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.004807, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.989e-05/0.004897, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.004946, allocations: 23.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.004985, allocations: 19.91 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.005156, allocations: 123.5 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.005159, allocations: 0 / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.00516, allocations: 3.938 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.005164, allocations: 0 / 410 MB, free: 15.08 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.0003952/0.005559, allocations: 333.7 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.0056, allocations: 8.031 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.005629, allocations: 34.75 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.00566, allocations: 12.84 kB / 410.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.005851, allocations: 146.3 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.005863, allocations: 4.375 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.00588, allocations: 384 / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.005994, allocations: 61.98 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.006004, allocations: 3.938 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.006011, allocations: 0 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.006015, allocations: 0 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.006063, allocations: 19.98 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.006346, allocations: 256 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.006461, allocations: 62.61 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.006494, allocations: 24.84 kB / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.006506, allocations: 0 / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.006621, allocations: 71.39 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.006623, allocations: 7.922 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003948/0.007018, allocations: 185.3 kB / 411.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.007048, allocations: 51.41 kB / 411.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.007168, allocations: 194.2 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.007179, allocations: 25.7 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.007222, allocations: 104.1 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.007244, allocations: 27.78 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.007275, allocations: 21.72 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.007355, allocations: 330.8 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.00739, allocations: 19.98 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.00743, allocations: 37.7 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.007503, allocations: 65.62 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007505, allocations: 4 kB / 412 MB, free: 12.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001167/0.007621, allocations: 101.5 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.007634, allocations: 12.03 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.007639, allocations: 160 / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.007649, allocations: 0 / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.007715, allocations: 16.17 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.007721, allocations: 7.984 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.007748, allocations: 3.938 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.007756, allocations: 4 kB / 412.2 MB, free: 12.66 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 6.991e-05/0.007826, allocations: 129.8 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.007839, allocations: 11.95 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.007995, allocations: 122.4 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007997, allocations: 0 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008001, allocations: 0 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008004, allocations: 0 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.008292, allocations: 378.3 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008293, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.008317, allocations: 15.92 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008319, allocations: 0 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.008327, allocations: 4 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.008328, allocations: 384 / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.00833, allocations: 7.969 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.00846, allocations: 208.3 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.008473, allocations: 15.89 kB / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.008489, allocations: 11.94 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.008526, allocations: 4 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.008554, allocations: 11.92 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.008566, allocations: 4 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.912e-05/0.008645, allocations: 144.1 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008645, allocations: 4 kB / 413.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.008823, allocations: 23.94 kB / 413.2 MB, free: 11.51 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.0009478/0.009771, allocations: 1.125 MB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.009895, allocations: 59.91 kB / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009896, allocations: 4.062 kB / 414.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.009937, allocations: 27.94 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.01016, allocations: 36.22 kB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.01129, allocations: 1.654 MB / 416.1 MB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.93e-05/0.01135, allocations: 88.31 kB / 416.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.846e-05/0.01139, allocations: 16.55 kB / 416.3 MB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.01144, allocations: 36.48 kB / 416.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01144, allocations: 0 / 416.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.02756, allocations: 4.2 MB / 420.5 MB, free: 4.016 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.381/6.408, allocations: 19.84 kB / 420.5 MB, free: 3.996 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.386385194025934]