Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.0008834/0.0008834, 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.0008751/0.0008751, 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.8639/0.8639, allocations: 158.6 MB / 185 MB, free: 3.043 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.128/0.128, 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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 406.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.949e-05, allocations: 5.938 kB / 406.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002374/0.002393, allocations: 1.641 MB / 408.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.003311, allocations: 0.7568 MB / 409.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.003384, allocations: 3.938 kB / 409.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.003707, allocations: 71.72 kB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.00393, allocations: 67.69 kB / 409.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.004137, allocations: 79.7 kB / 409.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.004293, allocations: 99.62 kB / 409.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.004334, allocations: 7.984 kB / 409.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.004424, allocations: 55.83 kB / 409.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.484e-05/0.004518, allocations: 47.88 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.004536, allocations: 0 / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.004612, allocations: 27.94 kB / 409.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.004667, allocations: 19.92 kB / 409.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.004708, allocations: 31.84 kB / 409.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004877, allocations: 87.72 kB / 409.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.00488, allocations: 4 kB / 409.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.004882, allocations: 0 / 409.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.004887, allocations: 3.938 kB / 409.9 MB, free: 10.43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004577/0.005345, allocations: 329.6 kB / 410.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.005385, allocations: 12.03 kB / 410.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.005415, allocations: 34.75 kB / 410.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.005448, allocations: 8.891 kB / 410.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.005672, allocations: 151.7 kB / 410.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.005684, allocations: 4.375 kB / 410.4 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.005693, allocations: 384 / 410.4 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.005823, allocations: 65.91 kB / 410.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005831, allocations: 0 / 410.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.005839, allocations: 0 / 410.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.005843, allocations: 0 / 410.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.005889, allocations: 19.98 kB / 410.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.006041, allocations: 140.8 kB / 410.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.006156, allocations: 54.61 kB / 410.7 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.006194, allocations: 24.84 kB / 410.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.006208, allocations: 0 / 410.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.006333, allocations: 75.27 kB / 410.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.006334, allocations: 0 / 410.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002057/0.00654, allocations: 93.81 kB / 410.9 MB, free: 9.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.006572, allocations: 51.41 kB / 411 MB, free: 9.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.006695, allocations: 190.2 kB / 411.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.006707, allocations: 29.7 kB / 411.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.006746, allocations: 100.1 kB / 411.3 MB, free: 8.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.006775, allocations: 19.84 kB / 411.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.006804, allocations: 25.66 kB / 411.3 MB, free: 8.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.006888, allocations: 322.8 kB / 411.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.006925, allocations: 16.05 kB / 411.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.006962, allocations: 33.69 kB / 411.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/0.007026, allocations: 45.7 kB / 411.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007028, allocations: 0 / 411.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001111/0.007139, allocations: 93.47 kB / 411.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.007152, allocations: 10.59 kB / 411.8 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.007158, allocations: 4.031 kB / 411.8 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.007171, allocations: 4 kB / 411.8 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.007234, allocations: 11.98 kB / 411.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.007239, allocations: 0 / 411.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.007271, allocations: 4 kB / 411.9 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.007276, allocations: 0 / 411.9 MB, free: 8.297 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 (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 7.991e-05/0.007356, allocations: 125.8 kB / 412 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.007372, allocations: 19.89 kB / 412 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.00752, allocations: 86.14 kB / 412.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.007525, allocations: 15.92 kB / 412.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.00753, allocations: 0 / 412.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.007534, allocations: 0 / 412.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.007634, allocations: 148.7 kB / 412.2 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007636, allocations: 0 / 412.2 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.007655, allocations: 4 kB / 412.2 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.007658, allocations: 3.938 kB / 412.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.007665, allocations: 4 kB / 412.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.007667, allocations: 128 / 412.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.00767, allocations: 4 kB / 412.3 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.007788, allocations: 120.9 kB / 412.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.007804, allocations: 15.89 kB / 412.4 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.007823, allocations: 4 kB / 412.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.007844, allocations: 4 kB / 412.4 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.007874, allocations: 3.984 kB / 412.4 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.007888, allocations: 4 kB / 412.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.717e-05/0.007965, allocations: 147.2 kB / 412.5 MB, free: 7.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007965, allocations: 0 / 412.5 MB, free: 7.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000163/0.008128, allocations: 19.94 kB / 412.6 MB, free: 7.504 MB / 346.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.0009646/0.009092, allocations: 0.9877 MB / 413.6 MB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.009222, allocations: 43.97 kB / 413.6 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.009224, allocations: 0 / 413.6 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.009261, allocations: 19.94 kB / 413.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.00946, allocations: 35.95 kB / 413.7 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.01057, allocations: 1.491 MB / 415.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.754e-05/0.01063, allocations: 95.17 kB / 415.2 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.288e-05/0.01067, allocations: 12.48 kB / 415.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.01072, allocations: 32.5 kB / 415.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01072, allocations: 0 / 415.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.02611, allocations: 3.897 MB / 419.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.455/6.481, allocations: 15.86 kB / 419.2 MB, free: 0.6836 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.370382209308445]