Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009537/0.0009538, allocations: 93.22 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.001142/0.001142, allocations: 203.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.387/1.387, allocations: 227.7 MB / 246.8 MB, free: 11.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.206/0.206, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002598, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002354/0.1283, allocations: 1.633 MB / 484.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1302, allocations: 1.095 MB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1304, allocations: 7.938 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.1309, allocations: 239.5 kB / 486.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.1314, allocations: 211.4 kB / 486.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1317, allocations: 99.78 kB / 486.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.1321, allocations: 267.2 kB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1322, allocations: 25.69 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1324, allocations: 119.5 kB / 486.9 MB, free: 376 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.1326, allocations: 183.4 kB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.1326, allocations: 4 kB / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1328, allocations: 59.91 kB / 487.1 MB, free: 128 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.1329, allocations: 59.77 kB / 487.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.133, allocations: 125 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.1333, allocations: 243.3 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1333, allocations: 0 / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1333, allocations: 0 / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1333, allocations: 4 kB / 487.5 MB, free: 15.7 MB / 366.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.0006634/0.134, allocations: 0.5331 MB / 488.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1341, allocations: 8.875 kB / 488.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.1341, allocations: 42.73 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.1342, allocations: 36.47 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1345, allocations: 290.4 kB / 488.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1345, allocations: 8.312 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1345, allocations: 15.94 kB / 488.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.1348, allocations: 107.3 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1348, allocations: 0 / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1348, allocations: 4 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1348, allocations: 4 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.135, allocations: 43.95 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.1355, allocations: 492.7 kB / 489.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.1359, allocations: 121.2 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.136, allocations: 49.81 kB / 489.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.136, allocations: 4 kB / 489.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.1363, allocations: 121 kB / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1363, allocations: 0 / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001258/0.1375, allocations: 0.5083 MB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1376, allocations: 81.11 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.1381, allocations: 0.4899 MB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1381, allocations: 29.7 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1382, allocations: 172.4 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.1383, allocations: 71.08 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1384, allocations: 25.72 kB / 490.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1385, allocations: 350.8 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1386, allocations: 59.97 kB / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1388, allocations: 91.34 kB / 491.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.139, allocations: 167.4 kB / 491.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1391, allocations: 0 / 491.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003915/0.1395, allocations: 240.9 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1395, allocations: 4 kB / 491.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1395, allocations: 4 kB / 491.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1395, allocations: 3.984 kB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1397, allocations: 47.92 kB / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1397, allocations: 0 / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.1398, allocations: 12.06 kB / 491.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1398, allocations: 11.98 kB / 491.7 MB, free: 11.2 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.0001571/0.1399, allocations: 174.3 kB / 491.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.14, allocations: 43.47 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.1401, allocations: 42.89 kB / 492 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1401, allocations: 0 / 492 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1401, allocations: 4 kB / 492 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1401, allocations: 7.969 kB / 492 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/0.141, allocations: 0.735 MB / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.141, allocations: 0 / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.1411, allocations: 31.98 kB / 492.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1411, allocations: 4 kB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1411, allocations: 8.125 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1411, allocations: 4 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1411, allocations: 7.875 kB / 492.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.1415, allocations: 421.8 kB / 493.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.1416, allocations: 112.6 kB / 493.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.1417, allocations: 8 kB / 493.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1418, allocations: 11.98 kB / 493.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1419, allocations: 27.86 kB / 493.3 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.1419, allocations: 12.12 kB / 493.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.1422, allocations: 379.1 kB / 493.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1423, allocations: 7.938 kB / 493.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.1426, allocations: 48 kB / 493.8 MB, free: 9.012 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.001759/0.1444, allocations: 1.349 MB / 495.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.1447, allocations: 155.8 kB / 495.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1447, allocations: 3.938 kB / 495.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1449, allocations: 88.22 kB / 495.4 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.1454, allocations: 61.27 kB / 495.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.149, allocations: 3.08 MB / 498.5 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1494, allocations: 0.7825 MB / 499.3 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1495, allocations: 41.91 kB / 499.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1497, allocations: 107.4 kB / 499.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of SimCode: time 7.785e-06/0.1497, allocations: 0 / 499.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.1666, allocations: 6.047 MB / 0.4936 GB, free: 13.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.1668, allocations: 240.3 kB / 0.4939 GB, free: 13.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.954, allocations: 0 / 0.4939 GB, free: 13.18 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches