Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001751/0.001751, allocations: 106.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002052/0.002052, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2624/0.2624, allocations: 46.11 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 80.28 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 62.44 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00357/0.123, allocations: 1.793 MB / 481.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1248, allocations: 1.013 MB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.125, allocations: 0 / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.1254, allocations: 59.73 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1257, allocations: 83.73 kB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.126, allocations: 71.8 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1262, allocations: 99.69 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.1263, allocations: 12 kB / 482.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1264, allocations: 35.8 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1266, allocations: 39.77 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1266, allocations: 4 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1267, allocations: 43.98 kB / 482.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.1268, allocations: 23.86 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.1269, allocations: 55.59 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1271, allocations: 131.8 kB / 482.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1271, allocations: 4 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1272, allocations: 0 / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1272, allocations: 0 / 482.9 MB, free: 2.117 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.0006264/0.1278, allocations: 438.7 kB / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1278, allocations: 8.875 kB / 483.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.1279, allocations: 34.75 kB / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.128, allocations: 16.73 kB / 483.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1282, allocations: 224.9 kB / 483.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1283, allocations: 4.375 kB / 483.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1283, allocations: 11.88 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1285, allocations: 53.67 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1285, allocations: 0 / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1285, allocations: 0 / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1285, allocations: 4 kB / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.1286, allocations: 15.98 kB / 483.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.129, allocations: 300.8 kB / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1292, allocations: 58.69 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.1293, allocations: 20.84 kB / 484 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1293, allocations: 0 / 484 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.1295, allocations: 67.39 kB / 484.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.936e-06/0.1295, allocations: 4 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005884/0.1301, allocations: 192.9 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.1302, allocations: 51.41 kB / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1304, allocations: 278.9 kB / 484.6 MB, free: 168 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1305, allocations: 25.7 kB / 484.6 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.1305, allocations: 112.1 kB / 484.7 MB, free: 20 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.1306, allocations: 27.81 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.1307, allocations: 21.72 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1308, allocations: 334.8 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.1309, allocations: 20 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.1309, allocations: 37.64 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1311, allocations: 57.7 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1311, allocations: 0 / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.1313, allocations: 109.5 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1313, allocations: 4 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1313, allocations: 3.984 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1313, allocations: 0 / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.1314, allocations: 19.94 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1314, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.1315, allocations: 7.922 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1315, allocations: 4 kB / 485.4 MB, free: 15.35 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 0.0001159/0.1316, allocations: 140.8 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.1317, allocations: 19.81 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.1317, allocations: 21.56 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1317, allocations: 0 / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1318, allocations: 3.938 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1318, allocations: 7.922 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.1322, allocations: 407.3 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1323, allocations: 3.984 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.1323, allocations: 8 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1323, allocations: 7.969 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.1323, allocations: 0 / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1323, allocations: 4 kB / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1323, allocations: 0 / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1326, allocations: 208.1 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.1326, allocations: 92.91 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.1327, allocations: 7.938 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.1328, allocations: 4.375 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1328, allocations: 7.984 kB / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1328, allocations: 12 kB / 486.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.133, allocations: 200.4 kB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.133, allocations: 0 / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1333, allocations: 31.98 kB / 486.5 MB, free: 14.08 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.001484/0.1348, allocations: 1.083 MB / 487.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.135, allocations: 67.91 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.135, allocations: 0 / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.1351, allocations: 23.98 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1354, allocations: 31.97 kB / 487.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.1375, allocations: 1.858 MB / 489.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1379, allocations: 0.7199 MB / 490.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.25e-05/0.1379, allocations: 12.88 kB / 490.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.138, allocations: 43.42 kB / 490.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.138, allocations: 0 / 490.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.1539, allocations: 3.53 MB / 493.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.1542, allocations: 238 kB / 494.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.067, allocations: 0 / 494.1 MB, free: 6.574 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches