Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001517, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 79.69 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 62.44 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00428/0.1453, allocations: 1.774 MB / 481.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1475, allocations: 1.017 MB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.1477, allocations: 0 / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.1482, allocations: 35.84 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.1488, allocations: 75.75 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1491, allocations: 63.88 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.1494, allocations: 111.6 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1496, allocations: 11.98 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1497, allocations: 39.8 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.1498, allocations: 35.78 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1498, allocations: 4 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.15, allocations: 47.97 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.15, allocations: 23.86 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.1501, allocations: 31.75 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1504, allocations: 119.9 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1504, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1504, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1504, allocations: 0 / 483 MB, free: 2.094 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.0006817/0.1511, allocations: 403 kB / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1512, allocations: 11.97 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1512, allocations: 34.75 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.1513, allocations: 12.84 kB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1516, allocations: 204.1 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1516, allocations: 8.375 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1516, allocations: 7.938 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1518, allocations: 49.67 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1518, allocations: 0 / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1518, allocations: 12 kB / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1519, allocations: 0 / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.985e-05/0.1519, allocations: 15.98 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.1524, allocations: 288.7 kB / 484 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1526, allocations: 62.61 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1526, allocations: 20.86 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1527, allocations: 4 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.1529, allocations: 67.38 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1529, allocations: 4 kB / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005933/0.1535, allocations: 173.2 kB / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1536, allocations: 55.41 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1538, allocations: 174.1 kB / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1538, allocations: 29.7 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.1539, allocations: 100.1 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.1539, allocations: 27.64 kB / 484.7 MB, free: 156 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.154, allocations: 21.72 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1541, allocations: 326.8 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.1542, allocations: 19.98 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.1543, allocations: 33.7 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1544, allocations: 61.7 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1544, allocations: 0 / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.1546, allocations: 101.5 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1547, allocations: 6.844 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1547, allocations: 0 / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1547, allocations: 7.938 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1548, allocations: 19.92 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1548, allocations: 3.938 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.1549, allocations: 7.938 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.1549, allocations: 4 kB / 485.3 MB, free: 15.52 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.0001202/0.155, allocations: 121.8 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1551, allocations: 19.84 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.1551, allocations: 12.72 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1551, allocations: 3.984 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1551, allocations: 0 / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1551, allocations: 7.922 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.1556, allocations: 387.7 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1556, allocations: 4 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.1557, allocations: 12 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1557, allocations: 7.969 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1557, allocations: 0 / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1557, allocations: 0 / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1557, allocations: 4 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.156, allocations: 208.2 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.156, allocations: 81.02 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.1561, allocations: 11.94 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.1562, allocations: 0 / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.1562, allocations: 11.98 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1562, allocations: 4 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1564, allocations: 123.2 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1564, allocations: 0 / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1566, allocations: 27.98 kB / 486.3 MB, free: 14.38 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.001549/0.1582, allocations: 1.088 MB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1584, allocations: 63.91 kB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1584, allocations: 0 / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.1585, allocations: 31.97 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1589, allocations: 39.41 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.1607, allocations: 1.603 MB / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1611, allocations: 0.704 MB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.1611, allocations: 25.17 kB / 489.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.1612, allocations: 35.42 kB / 489.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1612, allocations: 3.938 kB / 489.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05181/0.213, allocations: 3.149 MB / 493.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/0.2134, allocations: 244.2 kB / 493.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.446, allocations: 0 / 493.3 MB, free: 7.504 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches