Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.0009014/0.0009014, 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.0008711/0.0008711, 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.8753/0.8753, allocations: 158.6 MB / 185 MB, free: 3.039 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.1392/0.1392, 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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.335e-05, allocations: 2.281 kB / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002517/0.00254, allocations: 1.668 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009482/0.003488, allocations: 0.784 MB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.003565, allocations: 0 / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.003878, allocations: 47.69 kB / 409.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.004124, allocations: 55.7 kB / 409.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.004384, allocations: 91.69 kB / 409.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004545, allocations: 95.62 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.00464, allocations: 12.17 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.004731, allocations: 47.89 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.314e-05/0.004805, allocations: 27.91 kB / 409.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.004823, allocations: 4 kB / 409.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/0.004911, allocations: 39.92 kB / 409.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.004965, allocations: 23.92 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.005011, allocations: 31.8 kB / 409.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.005213, allocations: 107.6 kB / 410 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.005218, allocations: 3.984 kB / 410 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.00522, allocations: 0 / 410 MB, free: 10.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.005225, allocations: 3.938 kB / 410 MB, free: 10.38 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.0004988/0.005724, allocations: 333.6 kB / 410.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.005763, allocations: 12.03 kB / 410.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.005794, allocations: 34.73 kB / 410.3 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.00583, allocations: 12.84 kB / 410.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.006046, allocations: 151.8 kB / 410.5 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.006057, allocations: 4.375 kB / 410.5 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.006075, allocations: 4.375 kB / 410.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.006195, allocations: 61.92 kB / 410.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.006205, allocations: 0 / 410.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.006213, allocations: 0 / 410.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.006219, allocations: 4 kB / 410.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.006271, allocations: 19.98 kB / 410.6 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.006572, allocations: 255.9 kB / 410.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.006703, allocations: 62.61 kB / 410.9 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.006737, allocations: 24.84 kB / 410.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.006751, allocations: 4 kB / 410.9 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.006871, allocations: 67.39 kB / 411 MB, free: 9.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.006872, allocations: 0 / 411 MB, free: 9.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004184/0.00729, allocations: 181.3 kB / 411.2 MB, free: 9.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.007324, allocations: 55.41 kB / 411.2 MB, free: 8.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.007448, allocations: 190.2 kB / 411.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.00746, allocations: 25.7 kB / 411.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.007507, allocations: 100.1 kB / 411.5 MB, free: 8.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.007532, allocations: 27.8 kB / 411.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.007574, allocations: 29.7 kB / 411.6 MB, free: 8.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.007658, allocations: 326.8 kB / 411.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.007698, allocations: 20 kB / 411.9 MB, free: 8.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.00774, allocations: 37.64 kB / 412 MB, free: 8.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.64e-05/0.007817, allocations: 57.7 kB / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-06/0.007818, allocations: 0 / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001223/0.00794, allocations: 113.5 kB / 412.1 MB, free: 8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.007952, allocations: 8.031 kB / 412.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.007957, allocations: 0 / 412.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.007971, allocations: 4 kB / 412.1 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.008039, allocations: 15.98 kB / 412.2 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.008043, allocations: 352 / 412.2 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.008074, allocations: 8 kB / 412.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.008081, allocations: 7.922 kB / 412.2 MB, free: 7.957 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.84e-05/0.008159, allocations: 133.7 kB / 412.3 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.008171, allocations: 7.953 kB / 412.3 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.008339, allocations: 114.4 kB / 412.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.008343, allocations: 11.94 kB / 412.4 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.008346, allocations: 0 / 412.4 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008349, allocations: 0 / 412.4 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.008675, allocations: 374.3 kB / 412.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.008677, allocations: 0 / 412.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.008702, allocations: 12 kB / 412.8 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.008705, allocations: 0 / 412.8 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.008713, allocations: 7.922 kB / 412.8 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.008715, allocations: 4 kB / 412.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.008719, allocations: 3.969 kB / 412.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.008867, allocations: 212.7 kB / 413 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.008879, allocations: 7.906 kB / 413 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.008897, allocations: 8 kB / 413.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4e-05/0.008937, allocations: 7.984 kB / 413.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.008967, allocations: 15.91 kB / 413.1 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.008983, allocations: 4 kB / 413.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.974e-05/0.009063, allocations: 147.2 kB / 413.2 MB, free: 6.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009063, allocations: 0 / 413.2 MB, free: 6.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00018/0.009243, allocations: 27.92 kB / 413.2 MB, free: 6.789 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.001023/0.01027, allocations: 1.129 MB / 414.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.0104, allocations: 55.92 kB / 414.4 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0104, allocations: 0 / 414.4 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.01045, allocations: 39.92 kB / 414.5 MB, free: 5.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01069, allocations: 35.84 kB / 414.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.01214, allocations: 1.655 MB / 416.2 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.69e-05/0.0122, allocations: 88.31 kB / 416.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.357e-05/0.01225, allocations: 16.55 kB / 416.3 MB, free: 3.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.01231, allocations: 36.48 kB / 416.3 MB, free: 3.652 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01231, allocations: 0 / 416.3 MB, free: 3.652 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.02851, allocations: 4.198 MB / 420.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.438/6.467, allocations: 8 kB / 420.5 MB, free: 15.33 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.411595785059035]