Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.67/1.67, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.09 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 73.33 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.127, allocations: 62.45 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003275/0.1303, allocations: 1.968 MB / 481.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1321, allocations: 1.123 MB / 482.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.1322, allocations: 3.938 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.1326, allocations: 147.7 kB / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.1329, allocations: 163.5 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1332, allocations: 99.78 kB / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.1335, allocations: 231.3 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1336, allocations: 25.67 kB / 483.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1337, allocations: 107.5 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1339, allocations: 131.5 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1339, allocations: 4 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1341, allocations: 59.92 kB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.1342, allocations: 55.77 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.22e-05/0.1342, allocations: 79.36 kB / 483.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.1345, allocations: 219.5 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1345, allocations: 0 / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1345, allocations: 0 / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1345, allocations: 0 / 483.8 MB, free: 1.195 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006889/0.1352, allocations: 0.5371 MB / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1353, allocations: 8.875 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.1353, allocations: 42.73 kB / 484.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1354, allocations: 32.66 kB / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1357, allocations: 271.5 kB / 484.7 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1357, allocations: 4.375 kB / 484.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1358, allocations: 15.94 kB / 484.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.136, allocations: 111.3 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.136, allocations: 3.984 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.136, allocations: 0 / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.136, allocations: 4 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1362, allocations: 55.94 kB / 484.9 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.1367, allocations: 464.6 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.1371, allocations: 121.2 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1372, allocations: 49.77 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1373, allocations: 7.984 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.1376, allocations: 121.2 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1376, allocations: 0 / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001304/0.1389, allocations: 488.4 kB / 486.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.139, allocations: 89.09 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.1394, allocations: 367.3 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.1394, allocations: 33.7 kB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.1395, allocations: 152.4 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.1396, allocations: 67.11 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.1396, allocations: 45.64 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1398, allocations: 346.8 kB / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1399, allocations: 47.98 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.1401, allocations: 91.39 kB / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1404, allocations: 167.3 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1404, allocations: 0 / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003899/0.1408, allocations: 233.1 kB / 487.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1408, allocations: 4 kB / 487.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1408, allocations: 0 / 487.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1408, allocations: 8.062 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.141, allocations: 51.92 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.141, allocations: 3.938 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/0.1411, allocations: 11.98 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1411, allocations: 8 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001556/0.1412, allocations: 158.3 kB / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.1413, allocations: 35.55 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.1414, allocations: 37.83 kB / 488 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1414, allocations: 8 kB / 488 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1414, allocations: 0 / 488 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1414, allocations: 0 / 488 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009075/0.1423, allocations: 0.7233 MB / 488.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1423, allocations: 0 / 488.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.1424, allocations: 35.92 kB / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1424, allocations: 4 kB / 488.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1425, allocations: 7.984 kB / 488.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1425, allocations: 0 / 488.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1425, allocations: 7.938 kB / 488.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.143, allocations: 421.2 kB / 489.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.1431, allocations: 100.8 kB / 489.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.1431, allocations: 8 kB / 489.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1433, allocations: 7.984 kB / 489.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.1433, allocations: 31.84 kB / 489.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.1434, allocations: 12 kB / 489.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.1436, allocations: 277.9 kB / 489.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1437, allocations: 0 / 489.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.144, allocations: 48 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001895/0.1459, allocations: 1.357 MB / 491 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.1463, allocations: 159.8 kB / 491.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1463, allocations: 4 kB / 491.2 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1465, allocations: 75.84 kB / 491.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.147, allocations: 60.59 kB / 491.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.1503, allocations: 2.767 MB / 494.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1507, allocations: 0.7638 MB / 494.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1509, allocations: 37.92 kB / 494.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.151, allocations: 87.41 kB / 495 MB, free: 5.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.935e-06/0.151, allocations: 0 / 495 MB, free: 5.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.1689, allocations: 5.732 MB / 0.489 GB, free: 15.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.1692, allocations: 241 kB / 0.4892 GB, free: 15.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.069, allocations: 3.938 kB / 0.4892 GB, free: 15.69 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches