Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.000851/0.000851, allocations: 76.5 kB / 19.92 MB, free: 4.637 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.001569/0.001569, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9263/0.9263, 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.1387/0.1387, allocations: 32.37 MB / 269.6 MB, free: 14.98 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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.513e-05, allocations: 5.938 kB / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002617/0.002642, allocations: 1.68 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.003778, allocations: 0.7762 MB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.292e-05/0.00387, allocations: 0 / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.004271, allocations: 47.75 kB / 409.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.004581, allocations: 59.64 kB / 409.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.004898, allocations: 87.69 kB / 409.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.005119, allocations: 95.64 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.005273, allocations: 4.234 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.005399, allocations: 59.81 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.005509, allocations: 23.92 kB / 409.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.005534, allocations: 4 kB / 409.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.005647, allocations: 39.92 kB / 409.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.005746, allocations: 27.84 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.005812, allocations: 19.94 kB / 409.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.006057, allocations: 111.6 kB / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.00606, allocations: 0 / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.006062, allocations: 0 / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.00607, allocations: 3.938 kB / 410 MB, free: 10.39 MB / 346.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.000522/0.006592, allocations: 333.6 kB / 410.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.006639, allocations: 15.97 kB / 410.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.006684, allocations: 34.75 kB / 410.3 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.006742, allocations: 16.83 kB / 410.3 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.007024, allocations: 147.8 kB / 410.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.007042, allocations: 4.375 kB / 410.5 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.007076, allocations: 8.375 kB / 410.5 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.007259, allocations: 57.98 kB / 410.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.007273, allocations: 0 / 410.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.007284, allocations: 3.938 kB / 410.6 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.007294, allocations: 4 kB / 410.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.45e-05/0.007368, allocations: 19.97 kB / 410.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.007841, allocations: 255.9 kB / 410.8 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.008046, allocations: 54.67 kB / 410.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.00811, allocations: 24.84 kB / 410.9 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.008131, allocations: 0 / 410.9 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.008342, allocations: 75.33 kB / 411 MB, free: 9.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.008344, allocations: 0 / 411 MB, free: 9.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006617/0.009006, allocations: 181.4 kB / 411.2 MB, free: 9.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.00906, allocations: 55.34 kB / 411.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.009257, allocations: 194.2 kB / 411.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.009284, allocations: 29.7 kB / 411.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.009366, allocations: 100.1 kB / 411.5 MB, free: 8.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.009403, allocations: 27.8 kB / 411.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.009436, allocations: 25.7 kB / 411.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.009523, allocations: 326.8 kB / 411.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.009577, allocations: 20 kB / 411.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.009623, allocations: 33.7 kB / 412 MB, free: 8.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.748e-05/0.0097, allocations: 65.64 kB / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009702, allocations: 0 / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001279/0.009829, allocations: 105.6 kB / 412.1 MB, free: 8.008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.009844, allocations: 6.656 kB / 412.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.009849, allocations: 4.031 kB / 412.1 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.009864, allocations: 4 kB / 412.1 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.009939, allocations: 19.92 kB / 412.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.009945, allocations: 352 / 412.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.009975, allocations: 4 kB / 412.2 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.009982, allocations: 7.922 kB / 412.2 MB, free: 7.965 MB / 346.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 7.091e-05/0.01005, allocations: 133.8 kB / 412.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.01007, allocations: 7.953 kB / 412.3 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.01029, allocations: 118.4 kB / 412.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01029, allocations: 4 kB / 412.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.0103, allocations: 4 kB / 412.4 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01031, allocations: 0 / 412.4 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.01066, allocations: 370.3 kB / 412.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01067, allocations: 3.938 kB / 412.8 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.0107, allocations: 12 kB / 412.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.0107, allocations: 0 / 412.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01071, allocations: 4 kB / 412.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.01072, allocations: 7.984 kB / 412.8 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01072, allocations: 4.312 kB / 412.8 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.01089, allocations: 208.3 kB / 413 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.0109, allocations: 11.91 kB / 413 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.01092, allocations: 8 kB / 413 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.01096, allocations: 3.984 kB / 413.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.011, allocations: 15.88 kB / 413.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.01102, allocations: 7.984 kB / 413.1 MB, free: 6.969 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.227e-05/0.01111, allocations: 143.2 kB / 413.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01111, allocations: 0 / 413.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000181/0.01129, allocations: 27.92 kB / 413.2 MB, free: 6.801 MB / 346.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.001169/0.01246, allocations: 1.127 MB / 414.4 MB, free: 5.703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.01262, allocations: 63.91 kB / 414.4 MB, free: 5.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01262, allocations: 0 / 414.4 MB, free: 5.641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.01267, allocations: 32.03 kB / 414.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.01293, allocations: 35.91 kB / 414.5 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.01423, allocations: 1.651 MB / 416.1 MB, free: 3.828 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.0143, allocations: 88.31 kB / 416.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.416e-05/0.01434, allocations: 20.55 kB / 416.3 MB, free: 3.703 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.0144, allocations: 36.48 kB / 416.3 MB, free: 3.664 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.0144, allocations: 0 / 416.3 MB, free: 3.664 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.03559, allocations: 4.191 MB / 420.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/6.931, allocations: 0 / 420.5 MB, free: 15.35 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.187611899338663]