Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.001216/0.001216, allocations: 104.2 kB / 16.27 MB, free: 6.008 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.001723/0.001723, allocations: 188.5 kB / 17.19 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2004/0.2004, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 74.39 kB / 382.9 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09568, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002768/0.09851, allocations: 1.686 MB / 442.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.09951, allocations: 0.7961 MB / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.09959, allocations: 7.938 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.0999, allocations: 87.75 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.1001, allocations: 75.66 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1003, allocations: 79.78 kB / 443.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1005, allocations: 107.7 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1006, allocations: 16.17 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.1007, allocations: 51.77 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.324e-05/0.1008, allocations: 55.81 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1008, allocations: 4 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.328e-05/0.1009, allocations: 39.98 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.1009, allocations: 23.86 kB / 443.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.101, allocations: 35.73 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1011, allocations: 111.7 kB / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1011, allocations: 3.938 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1012, allocations: 0 / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1012, allocations: 4 kB / 443.8 MB, free: 3.617 MB / 318.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.0004182/0.1016, allocations: 422.9 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1016, allocations: 11.89 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.1017, allocations: 38.73 kB / 444.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.1017, allocations: 12.75 kB / 444.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1019, allocations: 208 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1019, allocations: 4.359 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1019, allocations: 7.938 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.102, allocations: 57.67 kB / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.102, allocations: 0 / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1021, allocations: 0 / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1021, allocations: 0 / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.1021, allocations: 19.98 kB / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.1024, allocations: 296.7 kB / 444.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.1025, allocations: 58.67 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.1026, allocations: 20.86 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1026, allocations: 3.938 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.1028, allocations: 67.38 kB / 445 MB, free: 2.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.235e-06/0.1028, allocations: 0 / 445 MB, free: 2.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004852/0.1033, allocations: 181.1 kB / 445.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.1033, allocations: 59.41 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1035, allocations: 215.5 kB / 445.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.1035, allocations: 29.64 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.1035, allocations: 108.1 kB / 445.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1036, allocations: 23.66 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1036, allocations: 21.72 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.1037, allocations: 322.8 kB / 446 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/0.1037, allocations: 20 kB / 446 MB, free: 1.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.1038, allocations: 41.7 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.72e-05/0.1039, allocations: 61.77 kB / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1039, allocations: 0 / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000152/0.104, allocations: 105.4 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1041, allocations: 4 kB / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1041, allocations: 0 / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1041, allocations: 8.016 kB / 446.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.1042, allocations: 19.94 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1042, allocations: 0 / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.1042, allocations: 7.938 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1043, allocations: 4 kB / 446.2 MB, free: 0.9609 MB / 318.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 7.327e-05/0.1043, allocations: 129.8 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.1044, allocations: 11.81 kB / 446.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.1044, allocations: 29.38 kB / 446.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1044, allocations: 0 / 446.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1044, allocations: 4 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1044, allocations: 3.938 kB / 446.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.1048, allocations: 391.3 kB / 446.8 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1048, allocations: 4 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.1048, allocations: 7.984 kB / 446.8 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1048, allocations: 7.938 kB / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1048, allocations: 0 / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1049, allocations: 0 / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1049, allocations: 8.031 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.105, allocations: 200.4 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1051, allocations: 84.92 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.1051, allocations: 15.86 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.1052, allocations: 4.312 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1053, allocations: 8 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1053, allocations: 12 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1054, allocations: 159.2 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1054, allocations: 0 / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1057, allocations: 20 kB / 447.3 MB, free: 15.77 MB / 334.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.001452/0.1072, allocations: 1.101 MB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1073, allocations: 59.91 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1074, allocations: 0 / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.052e-05/0.1074, allocations: 36.05 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1078, allocations: 25.95 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1094, allocations: 1.694 MB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1096, allocations: 0.7083 MB / 450.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.227e-05/0.1097, allocations: 16.84 kB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.1098, allocations: 43.42 kB / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1098, allocations: 3.938 kB / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.1292, allocations: 3.398 MB / 454.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/7.887, allocations: 12 kB / 454.4 MB, free: 8.609 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches