Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002255/0.002255, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.09 MB / 343.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 76.16 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 62.45 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002993/0.1265, allocations: 1.789 MB / 481.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1281, allocations: 1.017 MB / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1282, allocations: 0 / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.1284, allocations: 47.81 kB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.1287, allocations: 87.72 kB / 482.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.1289, allocations: 67.81 kB / 482.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.129, allocations: 99.69 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.009e-05/0.1291, allocations: 12 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.1292, allocations: 43.78 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.1293, allocations: 43.7 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1293, allocations: 0 / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1294, allocations: 47.98 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.1295, allocations: 27.91 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.1296, allocations: 43.61 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1298, allocations: 131.8 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1298, allocations: 3.984 kB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1298, allocations: 4 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1298, allocations: 0 / 482.9 MB, free: 2.152 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.0005226/0.1303, allocations: 446.6 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1304, allocations: 12.88 kB / 483.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1304, allocations: 38.75 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1304, allocations: 16.75 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.1307, allocations: 220 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1307, allocations: 8.375 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.1307, allocations: 3.938 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1309, allocations: 53.67 kB / 483.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1309, allocations: 4 kB / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1309, allocations: 0 / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.1309, allocations: 0 / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.131, allocations: 19.92 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.1313, allocations: 308.7 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1315, allocations: 62.61 kB / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.1316, allocations: 20.84 kB / 484 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1316, allocations: 7.938 kB / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.1318, allocations: 67.39 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1318, allocations: 0 / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000543/0.1324, allocations: 185 kB / 484.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.1324, allocations: 51.41 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1327, allocations: 292.2 kB / 484.6 MB, free: 172 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1327, allocations: 25.7 kB / 484.7 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.1328, allocations: 120.1 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.1329, allocations: 23.73 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1329, allocations: 25.7 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1331, allocations: 326.8 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.1332, allocations: 23.98 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.1332, allocations: 33.7 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1334, allocations: 57.66 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1334, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.1336, allocations: 113.3 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1336, allocations: 8 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1336, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1336, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.1337, allocations: 19.92 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1338, allocations: 4 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.1338, allocations: 3.938 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1338, allocations: 8.406 kB / 485.4 MB, free: 15.35 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.0001223/0.134, allocations: 133.8 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.134, allocations: 15.81 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.134, allocations: 25.39 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1341, allocations: 0 / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.1341, allocations: 4 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1341, allocations: 7.875 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.1345, allocations: 403.4 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1345, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.1346, allocations: 15.92 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1346, allocations: 3.938 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1346, allocations: 4 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1346, allocations: 192 / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1346, allocations: 0 / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1349, allocations: 220.1 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.135, allocations: 85.02 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.135, allocations: 3.938 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.1351, allocations: 7.984 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.1351, allocations: 11.94 kB / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1351, allocations: 0 / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1353, allocations: 216.6 kB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1353, allocations: 0 / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1356, allocations: 31.89 kB / 486.6 MB, free: 14.08 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.001488/0.1371, allocations: 1.093 MB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1373, allocations: 67.89 kB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1373, allocations: 0 / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.025e-05/0.1374, allocations: 23.94 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1377, allocations: 31.97 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.1396, allocations: 1.865 MB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1399, allocations: 0.72 MB / 490.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.1399, allocations: 21.16 kB / 490.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.14, allocations: 47.42 kB / 490.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.14, allocations: 0 / 490.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.154, allocations: 3.578 MB / 494 MB, free: 6.742 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.1543, allocations: 237 kB / 494.2 MB, free: 6.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.151, allocations: 4 kB / 494.2 MB, free: 6.488 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches