Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.001251/0.001251, allocations: 100.4 kB / 16.27 MB, free: 5.973 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.001561/0.001562, allocations: 188.6 kB / 17.2 MB, free: 5.605 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.347/1.347, allocations: 205.1 MB / 223.1 MB, free: 12.15 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.2107/0.2107, allocations: 43.53 MB / 314 MB, free: 0.5039 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.001548/0.001548, allocations: 72.27 kB / 382.8 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09145, allocations: 57.8 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002892/0.09438, allocations: 1.686 MB / 442.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.09556, allocations: 0.8 MB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.09569, allocations: 4 kB / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.09607, allocations: 91.75 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.09632, allocations: 79.64 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.0966, allocations: 79.78 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.09675, allocations: 107.7 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.09686, allocations: 16.16 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.09696, allocations: 55.77 kB / 443.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.09705, allocations: 63.81 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.09708, allocations: 7.938 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.09718, allocations: 39.98 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.09723, allocations: 19.92 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.09729, allocations: 39.67 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.09748, allocations: 119.7 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.09749, allocations: 0 / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0975, allocations: 0 / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.09751, allocations: 0 / 443.8 MB, free: 3.555 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.0004411/0.09795, allocations: 430.8 kB / 444.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.09799, allocations: 11.89 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.09803, allocations: 38.67 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.09807, allocations: 16.78 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.09826, allocations: 212 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.09828, allocations: 384 / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.0983, allocations: 7.938 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.09845, allocations: 53.67 kB / 444.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.09847, allocations: 0 / 444.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.09848, allocations: 4 kB / 444.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.09849, allocations: 0 / 444.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.09857, allocations: 23.92 kB / 444.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.09889, allocations: 296.9 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.09904, allocations: 50.67 kB / 445 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.0991, allocations: 24.86 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.09912, allocations: 4 kB / 445 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.0993, allocations: 67.31 kB / 445 MB, free: 2.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.09931, allocations: 0 / 445 MB, free: 2.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004774/0.09979, allocations: 181.1 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.09983, allocations: 51.41 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.09998, allocations: 234.6 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.1, allocations: 25.7 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1, allocations: 108.1 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1001, allocations: 27.64 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1001, allocations: 25.72 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.1002, allocations: 322.8 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.1002, allocations: 19.98 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/0.1003, allocations: 37.7 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.413e-05/0.1004, allocations: 65.7 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1004, allocations: 0 / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001599/0.1006, allocations: 105.5 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1006, allocations: 4 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1006, allocations: 0 / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1006, allocations: 4 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.1007, allocations: 19.92 kB / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1007, allocations: 4.031 kB / 446.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1008, allocations: 7.938 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1008, allocations: 3.938 kB / 446.3 MB, free: 0.8711 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.799e-05/0.1009, allocations: 133.8 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1009, allocations: 15.81 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.1009, allocations: 21.39 kB / 446.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.101, allocations: 3.984 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.101, allocations: 0 / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.101, allocations: 3.938 kB / 446.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.1013, allocations: 399.3 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1013, allocations: 0 / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.1014, allocations: 8.375 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1014, allocations: 11.88 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1014, allocations: 7.984 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1014, allocations: 0 / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1014, allocations: 0 / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1016, allocations: 204.4 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.1017, allocations: 84.92 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.1017, allocations: 7.938 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1018, allocations: 4.125 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1018, allocations: 4 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1019, allocations: 11.94 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.102, allocations: 171.2 kB / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.102, allocations: 0 / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1023, allocations: 24 kB / 447.4 MB, free: 15.67 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.001651/0.104, allocations: 1.116 MB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1042, allocations: 55.92 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1042, allocations: 0 / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.1043, allocations: 31.92 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1047, allocations: 30.14 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.1068, allocations: 1.713 MB / 450.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1071, allocations: 0.7117 MB / 451 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.1071, allocations: 17.17 kB / 451 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.1072, allocations: 39.42 kB / 451.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1072, allocations: 0 / 451.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.1295, allocations: 3.469 MB / 454.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.35/9.48, allocations: 15.94 kB / 454.6 MB, free: 8.402 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches