Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009373/0.0009375, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2461/0.2461, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003012, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002068/0.1316, allocations: 1.411 MB / 484.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1332, allocations: 0.9707 MB / 485.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.1333, allocations: 0 / 485.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1336, allocations: 55.8 kB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.1339, allocations: 91.72 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.1341, allocations: 59.88 kB / 485.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1344, allocations: 99.62 kB / 485.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.1344, allocations: 8.234 kB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1345, allocations: 47.77 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1346, allocations: 43.83 kB / 486 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1347, allocations: 4 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1348, allocations: 31.98 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.1348, allocations: 19.86 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.1349, allocations: 57.45 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1351, allocations: 99.91 kB / 486.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.1351, allocations: 7.984 kB / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1351, allocations: 0 / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1352, allocations: 0 / 486.2 MB, free: 1.059 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005886/0.1358, allocations: 397.3 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1358, allocations: 12.88 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.1359, allocations: 34.75 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.1359, allocations: 8.844 kB / 486.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1362, allocations: 218.5 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1362, allocations: 384 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1362, allocations: 7.938 kB / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1364, allocations: 49.67 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1364, allocations: 4 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1364, allocations: 0 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1364, allocations: 0 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.1365, allocations: 15.98 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.1367, allocations: 185.6 kB / 487.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1369, allocations: 54.5 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.137, allocations: 24.84 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.137, allocations: 0 / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.1372, allocations: 63.39 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.1372, allocations: 0 / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002901/0.1375, allocations: 105.4 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1375, allocations: 51.41 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1377, allocations: 190.9 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1378, allocations: 33.7 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.1378, allocations: 100.1 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.1379, allocations: 11.89 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.1379, allocations: 13.72 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.138, allocations: 322.8 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.1381, allocations: 12 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.339e-05/0.1381, allocations: 25.7 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.967e-05/0.1382, allocations: 57.89 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1382, allocations: 3.938 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001418/0.1384, allocations: 81.5 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1384, allocations: 8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1384, allocations: 0 / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1384, allocations: 0 / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.1385, allocations: 15.92 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1385, allocations: 4 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.1386, allocations: 4.031 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1386, allocations: 4 kB / 488.3 MB, free: 14.74 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 (7): * Single equations (assignments): 7 * 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 9.591e-05/0.1387, allocations: 125.8 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.1387, allocations: 11.81 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.1388, allocations: 16.94 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1388, allocations: 4 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1388, allocations: 0 / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1388, allocations: 0 / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.1389, allocations: 197.5 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1389, allocations: 4 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.139, allocations: 4 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.139, allocations: 0 / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.139, allocations: 0 / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.139, allocations: 0 / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.139, allocations: 0 / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.1391, allocations: 116.9 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.1392, allocations: 89 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1392, allocations: 8 kB / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.1393, allocations: 3.938 kB / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.1393, allocations: 7.984 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1393, allocations: 128 / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1394, allocations: 152.7 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1395, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.1397, allocations: 23.91 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001182/0.1408, allocations: 0.9533 MB / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.141, allocations: 35.98 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.141, allocations: 0 / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.1411, allocations: 23.92 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.1413, allocations: 24.23 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1429, allocations: 1.509 MB / 491.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1431, allocations: 0.7083 MB / 492.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.617e-05/0.1432, allocations: 16.41 kB / 492.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.1433, allocations: 27.42 kB / 492.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1433, allocations: 0 / 492.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.1555, allocations: 2.718 MB / 495 MB, free: 8.008 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/0.1558, allocations: 236.3 kB / 495.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/1.891, allocations: 0 / 495.2 MB, free: 7.754 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches