Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, 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.001165/0.001165, 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.382/1.382, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 84.33 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1275, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003649/0.1311, allocations: 1.939 MB / 482.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1331, allocations: 1.056 MB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.1333, allocations: 0 / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.1337, allocations: 55.69 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.1342, allocations: 91.5 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.1346, allocations: 99.62 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.1349, allocations: 143.6 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.1352, allocations: 33.53 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1353, allocations: 59.72 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1354, allocations: 47.7 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.1355, allocations: 8 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1356, allocations: 43.98 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.1357, allocations: 27.86 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.1358, allocations: 51.67 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.1362, allocations: 151.7 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1362, allocations: 0 / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1362, allocations: 0 / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1362, allocations: 4 kB / 483.9 MB, free: 1.352 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001023/0.1372, allocations: 488.5 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.1373, allocations: 8.031 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/0.1374, allocations: 38.75 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.1375, allocations: 16.75 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1379, allocations: 241.5 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1379, allocations: 384 / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.1379, allocations: 19.92 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1383, allocations: 108.2 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1383, allocations: 0 / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1383, allocations: 4 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1383, allocations: 4 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.1385, allocations: 55.89 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.1392, allocations: 0.5048 MB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.1396, allocations: 90.66 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.788e-05/0.1397, allocations: 40.78 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1398, allocations: 4 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.1401, allocations: 75.38 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1401, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004641/0.1406, allocations: 153.3 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.1406, allocations: 51.41 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.1409, allocations: 202.2 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.141, allocations: 29.7 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1412, allocations: 120 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1412, allocations: 27.61 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.1413, allocations: 29.72 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1414, allocations: 330.8 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1415, allocations: 31.98 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1416, allocations: 60.22 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.1419, allocations: 100.2 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1419, allocations: 384 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003157/0.1422, allocations: 137.3 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1422, allocations: 8 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1422, allocations: 0 / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.1423, allocations: 3.938 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1424, allocations: 32.05 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.1424, allocations: 0 / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.1425, allocations: 19.92 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1425, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001711/0.1427, allocations: 128 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.1427, allocations: 15.81 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.1428, allocations: 21.39 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1428, allocations: 3.938 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1428, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1428, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.143, allocations: 213.5 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1431, allocations: 3.938 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.1431, allocations: 11.98 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1431, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1432, allocations: 8 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1432, allocations: 3.938 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1432, allocations: 0 / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.1436, allocations: 184.8 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.1437, allocations: 88.98 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.1437, allocations: 4 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.1438, allocations: 7.938 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.1438, allocations: 7.984 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1439, allocations: 7.984 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.144, allocations: 144.4 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.144, allocations: 4.062 kB / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1443, allocations: 28.17 kB / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001809/0.1461, allocations: 1.017 MB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.1464, allocations: 87.89 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1465, allocations: 0 / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1466, allocations: 39.92 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1469, allocations: 40.19 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.1494, allocations: 1.737 MB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1498, allocations: 0.7239 MB / 491.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.43e-05/0.1498, allocations: 17.41 kB / 491.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.1499, allocations: 43.41 kB / 491.5 MB, free: 9.391 MB / 366.1 MB Notification: Performance of SimCode: time 2.104e-06/0.1499, allocations: 4 kB / 491.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.1749, allocations: 3.72 MB / 495.2 MB, free: 5.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.64, allocations: 11.55 kB / 495.2 MB, free: 5.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches