Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009337/0.0009336, allocations: 95.56 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 202.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 63.56 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001937/0.1298, allocations: 1.446 MB / 484.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1313, allocations: 0.9902 MB / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.1314, allocations: 0 / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1318, allocations: 87.77 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.1321, allocations: 95.7 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1324, allocations: 67.81 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1326, allocations: 107.7 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1327, allocations: 8 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.626e-05/0.1328, allocations: 51.78 kB / 486 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.133, allocations: 59.75 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.133, allocations: 0 / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1331, allocations: 47.92 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.1332, allocations: 19.91 kB / 486.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.088e-05/0.1332, allocations: 61.44 kB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1335, allocations: 119.8 kB / 486.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1335, allocations: 4 kB / 486.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1335, allocations: 0 / 486.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1335, allocations: 3.938 kB / 486.3 MB, free: 0.8555 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.0005876/0.1341, allocations: 411.1 kB / 486.7 MB, free: 416 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1341, allocations: 8.875 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1342, allocations: 30.75 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.1342, allocations: 20.69 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1345, allocations: 212.6 kB / 487 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1345, allocations: 384 / 487 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1345, allocations: 11.88 kB / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1347, allocations: 53.67 kB / 487.1 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1347, allocations: 4 kB / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1347, allocations: 0 / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1347, allocations: 0 / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.631e-05/0.1348, allocations: 19.98 kB / 487.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.1353, allocations: 300.7 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1355, allocations: 54.67 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.1355, allocations: 24.84 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1356, allocations: 0 / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1358, allocations: 71.33 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1358, allocations: 0 / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005457/0.1363, allocations: 185 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1364, allocations: 51.41 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.1366, allocations: 231.4 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1366, allocations: 25.7 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.1367, allocations: 104.1 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1367, allocations: 23.66 kB / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.1367, allocations: 21.7 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1369, allocations: 322.8 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.137, allocations: 20 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.137, allocations: 37.7 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1371, allocations: 69.7 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1372, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.1373, allocations: 89.59 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1374, allocations: 11.98 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1374, allocations: 0 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1374, allocations: 384 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.1375, allocations: 15.94 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1375, allocations: 8.219 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.1376, allocations: 11.92 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1376, allocations: 11.94 kB / 488.8 MB, free: 14.19 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.0001139/0.1377, allocations: 125.8 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.1377, allocations: 11.81 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.1378, allocations: 25.39 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1378, allocations: 0 / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1378, allocations: 3.938 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1378, allocations: 3.938 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1383, allocations: 403.3 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1383, allocations: 0 / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.1384, allocations: 8 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1384, allocations: 3.938 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1384, allocations: 0 / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1384, allocations: 7.938 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1384, allocations: 3.984 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1386, allocations: 208.2 kB / 489.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.1387, allocations: 88.92 kB / 489.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1387, allocations: 7.938 kB / 489.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.1388, allocations: 7.984 kB / 489.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1389, allocations: 4 kB / 489.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1389, allocations: 4 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1391, allocations: 173.2 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1391, allocations: 0 / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1394, allocations: 24 kB / 489.8 MB, free: 12.99 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.001828/0.1412, allocations: 1.089 MB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1414, allocations: 59.91 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1414, allocations: 0 / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.1415, allocations: 31.97 kB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.1419, allocations: 29.61 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1436, allocations: 1.73 MB / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1439, allocations: 0.7157 MB / 493.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.144, allocations: 12.89 kB / 493.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.1441, allocations: 43.34 kB / 493.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1441, allocations: 4 kB / 493.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.1572, allocations: 3.107 MB / 496.7 MB, free: 6.324 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.1574, allocations: 240.7 kB / 496.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/1.889, allocations: 0 / 496.9 MB, free: 6.066 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches