Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.4 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.09 MB / 343.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 77.88 kB / 417.2 MB, free: 19.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.09099, allocations: 62.45 MB / 479.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003241/0.09427, allocations: 1.988 MB / 481.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.09588, allocations: 1.044 MB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.09601, allocations: 4 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.09631, allocations: 35.84 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.09661, allocations: 83.67 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.09684, allocations: 79.8 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.09704, allocations: 147.6 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.09715, allocations: 33.47 kB / 483 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.09725, allocations: 51.78 kB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.09734, allocations: 59.59 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.09736, allocations: 4 kB / 483.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.09746, allocations: 55.97 kB / 483.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.09752, allocations: 27.91 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.09759, allocations: 43.69 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.09781, allocations: 155.7 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09782, allocations: 0 / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09783, allocations: 0 / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.09784, allocations: 0 / 483.4 MB, free: 1.645 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006035/0.09845, allocations: 480.4 kB / 483.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.0985, allocations: 20.02 kB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.09854, allocations: 38.75 kB / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.09859, allocations: 16.75 kB / 483.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.09884, allocations: 233.5 kB / 484.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.09886, allocations: 4.375 kB / 484.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.09889, allocations: 7.938 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.09912, allocations: 116.2 kB / 484.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.09914, allocations: 4 kB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.09916, allocations: 3.938 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.09917, allocations: 4 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.09932, allocations: 47.91 kB / 484.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.09983, allocations: 0.5126 MB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.1001, allocations: 86.61 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.1003, allocations: 36.83 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1003, allocations: 4 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.1005, allocations: 87.31 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1005, allocations: 0 / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003658/0.1009, allocations: 149.3 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.1009, allocations: 51.41 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1011, allocations: 202.2 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1011, allocations: 25.7 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1012, allocations: 124 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1012, allocations: 27.61 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.1013, allocations: 29.7 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.1014, allocations: 322.8 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.1014, allocations: 27.98 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1016, allocations: 72.27 kB / 486.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1017, allocations: 92.58 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1017, allocations: 0 / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002506/0.102, allocations: 145.3 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.102, allocations: 7.938 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.102, allocations: 4 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.102, allocations: 3.938 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.1021, allocations: 23.98 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1021, allocations: 0 / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.1022, allocations: 11.94 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1022, allocations: 8 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.631e-05/0.1023, allocations: 133.9 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1024, allocations: 19.75 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.1024, allocations: 13.41 kB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1024, allocations: 7.922 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1024, allocations: 0 / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1024, allocations: 3.984 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.1026, allocations: 213.5 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1026, allocations: 0 / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.1027, allocations: 8 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1027, allocations: 4 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1027, allocations: 15.98 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1027, allocations: 3.938 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1027, allocations: 0 / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.1031, allocations: 176.8 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.1031, allocations: 88.98 kB / 487.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.1031, allocations: 64 / 487.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.21e-05/0.1032, allocations: 15.92 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1033, allocations: 11.98 kB / 487.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1033, allocations: 4 kB / 487.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.993e-05/0.1034, allocations: 148.5 kB / 487.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1034, allocations: 0 / 487.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.1036, allocations: 27.94 kB / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001279/0.1049, allocations: 1.02 MB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1051, allocations: 87.84 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1051, allocations: 0 / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.1052, allocations: 44.22 kB / 488.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1055, allocations: 42.25 kB / 488.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1072, allocations: 1.768 MB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.1074, allocations: 0.7161 MB / 490.9 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.1075, allocations: 17.42 kB / 491 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.1076, allocations: 47.42 kB / 491 MB, free: 9.648 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1076, allocations: 0 / 491 MB, free: 9.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.418/1.525, allocations: 3.603 MB / 494.6 MB, free: 6.156 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003415/1.526, allocations: 246.1 kB / 494.8 MB, free: 5.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/3.539, allocations: 0 / 494.8 MB, free: 5.891 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches