Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008422/0.0008419, allocations: 92.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001137, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1941/0.1941, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002473, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09778, allocations: 63.57 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001844/0.09967, allocations: 1.442 MB / 484.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1012, allocations: 0.998 MB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.1013, allocations: 4 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1015, allocations: 35.83 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1018, allocations: 71.75 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.102, allocations: 63.88 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1021, allocations: 99.62 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.769e-05/0.1022, allocations: 8 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.893e-05/0.1023, allocations: 47.78 kB / 486 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.1024, allocations: 31.78 kB / 486 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1024, allocations: 0 / 486 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.1025, allocations: 39.98 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.1026, allocations: 23.86 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1026, allocations: 53.52 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1028, allocations: 111.9 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1028, allocations: 0 / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1028, allocations: 0 / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1028, allocations: 3.938 kB / 486.2 MB, free: 1.016 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.0004431/0.1033, allocations: 407.1 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1033, allocations: 8.875 kB / 486.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.1034, allocations: 34.75 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.1034, allocations: 16.69 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1036, allocations: 212 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1036, allocations: 384 / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1036, allocations: 7.938 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1038, allocations: 53.67 kB / 486.9 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1038, allocations: 3.984 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.1038, allocations: 4 kB / 486.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1038, allocations: 0 / 486.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.729e-05/0.1039, allocations: 19.98 kB / 487 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.1042, allocations: 288.8 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1044, allocations: 54.67 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.1045, allocations: 20.86 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1045, allocations: 0 / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.1046, allocations: 71.38 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.1047, allocations: 0 / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004743/0.1051, allocations: 173.2 kB / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1052, allocations: 51.41 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1054, allocations: 197.7 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1054, allocations: 29.7 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.1054, allocations: 104 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.1055, allocations: 23.66 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.1055, allocations: 21.7 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1057, allocations: 322.8 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.341e-05/0.1057, allocations: 16 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.1058, allocations: 37.7 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1059, allocations: 57.7 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1059, allocations: 0 / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.1061, allocations: 109.5 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1061, allocations: 4 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1061, allocations: 0 / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1061, allocations: 4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.1062, allocations: 15.94 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1062, allocations: 4.031 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1063, allocations: 11.92 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1063, allocations: 4 kB / 488.6 MB, free: 14.43 MB / 366.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 9.373e-05/0.1064, allocations: 121.8 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.1064, allocations: 8.469 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.1065, allocations: 17.39 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1065, allocations: 3.938 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1065, allocations: 0 / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1065, allocations: 11.94 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.1069, allocations: 395.4 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1069, allocations: 0 / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.107, allocations: 11.98 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.107, allocations: 3.938 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.107, allocations: 4 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.107, allocations: 0 / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.107, allocations: 0 / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.1073, allocations: 208.2 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.1073, allocations: 92.91 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1074, allocations: 11.94 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.1074, allocations: 0 / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.1075, allocations: 7.984 kB / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1075, allocations: 7.938 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1076, allocations: 141.8 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1076, allocations: 0 / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1079, allocations: 23.98 kB / 489.6 MB, free: 13.27 MB / 366.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.001317/0.1092, allocations: 1.081 MB / 490.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.1094, allocations: 59.89 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1094, allocations: 0 / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.1095, allocations: 31.98 kB / 490.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1098, allocations: 31.59 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.1114, allocations: 1.65 MB / 492.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1117, allocations: 0.7004 MB / 493.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.647e-05/0.1118, allocations: 12.88 kB / 493.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.1118, allocations: 35.42 kB / 493.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of SimCode: time 1.894e-06/0.1119, allocations: 0 / 493.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6888/0.8006, allocations: 2.962 MB / 496.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.8008, allocations: 235.6 kB / 496.4 MB, free: 6.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.761, allocations: 0 / 496.4 MB, free: 6.605 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches