Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2499/0.2499, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001489, allocations: 76.84 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1398, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003781/0.1436, allocations: 1.727 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.1463, allocations: 1.623 MB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1465, allocations: 3.938 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1469, allocations: 31.84 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.1473, allocations: 107.5 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1476, allocations: 75.67 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1478, allocations: 103.7 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1479, allocations: 11.98 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.148, allocations: 55.73 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1482, allocations: 47.77 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.1483, allocations: 4 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.1485, allocations: 99.92 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.1486, allocations: 23.86 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.1486, allocations: 35.8 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.149, allocations: 163.8 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.149, allocations: 0 / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.149, allocations: 0 / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.149, allocations: 0 / 484.2 MB, free: 1.07 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.0006464/0.1497, allocations: 427 kB / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1497, allocations: 16.02 kB / 484.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.1498, allocations: 38.69 kB / 484.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.1498, allocations: 12.83 kB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1501, allocations: 219.4 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1502, allocations: 0 / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.1502, allocations: 4 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1504, allocations: 71.39 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1504, allocations: 0 / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1504, allocations: 4 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.1505, allocations: 0 / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.336e-05/0.1506, allocations: 23.92 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.151, allocations: 288.9 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1512, allocations: 62.67 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.1513, allocations: 16.86 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1513, allocations: 0 / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1515, allocations: 71.33 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1515, allocations: 0 / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006358/0.1522, allocations: 177.1 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.1522, allocations: 85.05 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1524, allocations: 165.5 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1525, allocations: 29.7 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1525, allocations: 100.1 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.1526, allocations: 27.64 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.1527, allocations: 17.72 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1528, allocations: 322.8 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.1529, allocations: 23.94 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.1529, allocations: 46.55 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1531, allocations: 65.64 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1531, allocations: 0 / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.1533, allocations: 93.58 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1533, allocations: 11.94 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1533, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1533, allocations: 4.062 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1535, allocations: 15.94 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.1535, allocations: 7.984 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.1535, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1536, allocations: 4 kB / 486.6 MB, free: 14.41 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.0001113/0.1537, allocations: 113.8 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1537, allocations: 15.81 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.1538, allocations: 16.86 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1538, allocations: 7.938 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1538, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1538, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.1543, allocations: 399.3 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1543, allocations: 3.938 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.1544, allocations: 16.31 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1544, allocations: 0 / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1544, allocations: 3.984 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.1544, allocations: 12.03 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1544, allocations: 0 / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1547, allocations: 192.3 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.1548, allocations: 88.95 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.1548, allocations: 4 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.1549, allocations: 4.172 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.155, allocations: 15.98 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.155, allocations: 7.938 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1551, allocations: 131.2 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1551, allocations: 0 / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.1555, allocations: 47.94 kB / 487.7 MB, free: 13.24 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.001899/0.1574, allocations: 1.18 MB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1576, allocations: 55.92 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1576, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.1577, allocations: 35.98 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.158, allocations: 37.34 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1601, allocations: 1.577 MB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1605, allocations: 0.7012 MB / 491.3 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.71e-05/0.1606, allocations: 21.17 kB / 491.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.246e-05/0.1607, allocations: 31.42 kB / 491.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1607, allocations: 4 kB / 491.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.1859, allocations: 3.929 MB / 495.3 MB, free: 5.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/7.586, allocations: 19.05 kB / 495.3 MB, free: 5.785 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches