Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 104.8 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.001278/0.001278, 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.411/1.411, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 76.7 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1344, allocations: 62.45 MB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003427/0.1378, allocations: 1.793 MB / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1396, allocations: 1.017 MB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.1397, allocations: 0 / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.14, allocations: 39.83 kB / 482.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1404, allocations: 67.77 kB / 482.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.1406, allocations: 67.86 kB / 482.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1408, allocations: 95.64 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1409, allocations: 15.98 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1411, allocations: 43.78 kB / 482.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.1411, allocations: 31.8 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1412, allocations: 0 / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1413, allocations: 47.97 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.1413, allocations: 19.86 kB / 482.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.1414, allocations: 35.73 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1416, allocations: 115.9 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1416, allocations: 0 / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1416, allocations: 0 / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1417, allocations: 0 / 482.8 MB, free: 2.188 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.0005505/0.1422, allocations: 419 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1423, allocations: 8.875 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.1423, allocations: 34.75 kB / 483.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1424, allocations: 16.84 kB / 483.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.1426, allocations: 216.6 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1427, allocations: 8.375 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1427, allocations: 3.938 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1428, allocations: 57.67 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1429, allocations: 4 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1429, allocations: 0 / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1429, allocations: 3.984 kB / 483.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.143, allocations: 16 kB / 483.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.1434, allocations: 292.7 kB / 483.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1436, allocations: 54.69 kB / 483.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.1436, allocations: 24.84 kB / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1436, allocations: 0 / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1439, allocations: 67.39 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1439, allocations: 0 / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.1445, allocations: 169.2 kB / 484.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1445, allocations: 51.41 kB / 484.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1447, allocations: 206.7 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1447, allocations: 29.64 kB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.1448, allocations: 108.1 kB / 484.5 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.1449, allocations: 23.66 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.1449, allocations: 25.7 kB / 484.6 MB, free: 172 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.145, allocations: 322.8 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.1451, allocations: 20 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.1452, allocations: 37.7 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1453, allocations: 57.7 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1453, allocations: 0 / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.1455, allocations: 109.5 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1455, allocations: 4 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1455, allocations: 4 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1456, allocations: 3.984 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.1457, allocations: 19.97 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1457, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.1457, allocations: 12.3 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1458, allocations: 8 kB / 485.2 MB, free: 15.55 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.0001063/0.1459, allocations: 117.8 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.1459, allocations: 7.906 kB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.146, allocations: 29.33 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.146, allocations: 0 / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.146, allocations: 0 / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.146, allocations: 7.938 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.1464, allocations: 399.2 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1464, allocations: 0 / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1465, allocations: 12 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1465, allocations: 3.938 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1465, allocations: 4 kB / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1465, allocations: 0 / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1465, allocations: 0 / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1468, allocations: 204.2 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.1468, allocations: 96.91 kB / 486 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1469, allocations: 3.938 kB / 486 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.1469, allocations: 4 kB / 486 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.147, allocations: 7.984 kB / 486 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.147, allocations: 4 kB / 486 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1471, allocations: 156.7 kB / 486.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1471, allocations: 0 / 486.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1474, allocations: 24.19 kB / 486.2 MB, free: 14.39 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.001497/0.1489, allocations: 1.092 MB / 487.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1491, allocations: 59.91 kB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1491, allocations: 0 / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.1492, allocations: 32.11 kB / 487.4 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.0003613/0.1496, allocations: 27.92 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.1514, allocations: 1.667 MB / 489.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1517, allocations: 0.7083 MB / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.622e-05/0.1518, allocations: 12.88 kB / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.1518, allocations: 39.36 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1519, allocations: 4 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.169, allocations: 3.197 MB / 493.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.1693, allocations: 229 kB / 493.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.184, allocations: 3.938 kB / 493.3 MB, free: 7.418 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches