Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006959/0.000696, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007926/0.0007926, allocations: 205.5 kB / 18.29 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.443/1.443, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2425/0.2425, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002786, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002083/0.1436, allocations: 1.45 MB / 484.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1452, allocations: 0.9902 MB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.1453, allocations: 0 / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.1455, allocations: 39.83 kB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1458, allocations: 83.73 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.146, allocations: 63.81 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1462, allocations: 99.69 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1463, allocations: 8 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.1464, allocations: 35.8 kB / 486 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.1465, allocations: 39.77 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1465, allocations: 0 / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1466, allocations: 43.92 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.1467, allocations: 27.91 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.1467, allocations: 53.45 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1469, allocations: 119.8 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1469, allocations: 0 / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.147, allocations: 4 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.147, allocations: 0 / 486.2 MB, free: 0.9844 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.0005372/0.1475, allocations: 399.1 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1476, allocations: 8.875 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.1476, allocations: 34.73 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.1477, allocations: 16.84 kB / 486.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1479, allocations: 218.6 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1479, allocations: 4.312 kB / 486.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.148, allocations: 7.938 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1481, allocations: 53.67 kB / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1481, allocations: 0 / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1482, allocations: 0 / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1482, allocations: 0 / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.1482, allocations: 19.98 kB / 487 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1487, allocations: 296.7 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1488, allocations: 58.67 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.1489, allocations: 16.86 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1489, allocations: 4 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.1491, allocations: 75.31 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1491, allocations: 0 / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000546/0.1497, allocations: 161.6 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1497, allocations: 63.34 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1499, allocations: 194.7 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.15, allocations: 33.69 kB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.15, allocations: 100.1 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.1501, allocations: 27.7 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.1501, allocations: 9.719 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1502, allocations: 326.8 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.1503, allocations: 19.98 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.1504, allocations: 33.7 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1505, allocations: 65.64 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1505, allocations: 4 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.1507, allocations: 97.48 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1507, allocations: 8 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1507, allocations: 4.25 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1507, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.1508, allocations: 27.86 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1509, allocations: 4 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1509, allocations: 3.938 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.1509, allocations: 4 kB / 488.6 MB, free: 14.39 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 9.994e-05/0.151, allocations: 129.9 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.1511, allocations: 11.91 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.1511, allocations: 13.41 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1511, allocations: 3.938 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1511, allocations: 0 / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1511, allocations: 7.922 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.1516, allocations: 395.2 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1516, allocations: 4.031 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.1516, allocations: 8 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1516, allocations: 7.938 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1516, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1516, allocations: 3.984 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1516, allocations: 3.938 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1519, allocations: 204.5 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.1519, allocations: 88.92 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1519, allocations: 11.94 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.152, allocations: 3.984 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1521, allocations: 4 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1521, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1522, allocations: 152.7 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1522, allocations: 0 / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1525, allocations: 31.98 kB / 489.6 MB, free: 13.21 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.001451/0.1539, allocations: 1.095 MB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1541, allocations: 59.91 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1541, allocations: 0 / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.947e-05/0.1542, allocations: 28 kB / 490.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1546, allocations: 23.97 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.1563, allocations: 1.674 MB / 492.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1565, allocations: 0.7083 MB / 493.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.89e-05/0.1566, allocations: 25.09 kB / 493.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.1567, allocations: 35.42 kB / 493.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1567, allocations: 0 / 493.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.1705, allocations: 3.018 MB / 496.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/0.1709, allocations: 236.3 kB / 496.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/1.936, allocations: 0 / 496.5 MB, free: 6.445 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches