Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001406, allocations: 106.3 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 44.18 MB / 336.2 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.94 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09662, allocations: 60.84 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002667/0.09932, allocations: 1.761 MB / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1005, allocations: 0.8576 MB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.1006, allocations: 0 / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.1008, allocations: 51.81 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.101, allocations: 51.77 kB / 471.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.1013, allocations: 95.83 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1015, allocations: 95.7 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.149e-05/0.1015, allocations: 16.22 kB / 471.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.1016, allocations: 43.78 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.1017, allocations: 31.8 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1017, allocations: 4 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.424e-05/0.1018, allocations: 47.97 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.1019, allocations: 27.91 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.1019, allocations: 39.69 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.1021, allocations: 131.8 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1021, allocations: 4 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1021, allocations: 0 / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1021, allocations: 7.938 kB / 472.1 MB, free: 11.37 MB / 350.1 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.0004605/0.1026, allocations: 434.7 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1026, allocations: 8.031 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.1027, allocations: 30.75 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.1027, allocations: 16.75 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1029, allocations: 216 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1029, allocations: 8.359 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.103, allocations: 3.938 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1031, allocations: 61.61 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1031, allocations: 0 / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1031, allocations: 7.984 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1031, allocations: 0 / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.1032, allocations: 12 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.1035, allocations: 296.9 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1037, allocations: 66.61 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.1037, allocations: 16.86 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.1038, allocations: 0 / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1039, allocations: 71.38 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1039, allocations: 0 / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004811/0.1044, allocations: 185 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.1045, allocations: 59.41 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1047, allocations: 266.9 kB / 473.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1047, allocations: 29.7 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.1048, allocations: 112.1 kB / 473.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1048, allocations: 23.7 kB / 474 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.1049, allocations: 21.72 kB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.105, allocations: 330.8 kB / 474.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.105, allocations: 19.94 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.1051, allocations: 45.95 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1052, allocations: 57.7 kB / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1052, allocations: 0 / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001738/0.1054, allocations: 113.4 kB / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1054, allocations: 10.81 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1054, allocations: 3.984 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1054, allocations: 4.031 kB / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.1055, allocations: 12 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1055, allocations: 0 / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.1056, allocations: 11.88 kB / 474.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1056, allocations: 4 kB / 474.6 MB, free: 8.617 MB / 350.1 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.0001027/0.1057, allocations: 141.8 kB / 474.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.1057, allocations: 11.81 kB / 474.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.1058, allocations: 17.41 kB / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1058, allocations: 0 / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1058, allocations: 8 kB / 474.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1058, allocations: 3.938 kB / 474.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.1062, allocations: 399.3 kB / 475.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1062, allocations: 0 / 475.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.1063, allocations: 8 kB / 475.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1063, allocations: 7.922 kB / 475.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1063, allocations: 0 / 475.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1063, allocations: 4.234 kB / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1063, allocations: 4.031 kB / 475.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1065, allocations: 208.2 kB / 475.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.1066, allocations: 88.92 kB / 475.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1066, allocations: 11.88 kB / 475.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.1067, allocations: 7.984 kB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.1067, allocations: 4 kB / 475.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1067, allocations: 8 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.1069, allocations: 204.2 kB / 475.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1069, allocations: 0 / 475.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1072, allocations: 20 kB / 475.7 MB, free: 7.379 MB / 350.1 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 (8): * Single equations (assignments): 6 * 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.001318/0.1085, allocations: 1.109 MB / 476.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.1087, allocations: 55.98 kB / 476.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1087, allocations: 0 / 476.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.1088, allocations: 39.97 kB / 476.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1091, allocations: 27.98 kB / 477 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.1108, allocations: 1.822 MB / 478.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1111, allocations: 0.7158 MB / 479.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.156e-05/0.1111, allocations: 16.88 kB / 479.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.1112, allocations: 47.41 kB / 479.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1112, allocations: 0 / 479.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.1236, allocations: 3.535 MB / 483.1 MB, free: 160 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.1238, allocations: 237.9 kB / 483.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.16, allocations: 3.938 kB / 483.3 MB, free: 15.89 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches