Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001582/0.001582, 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.001876/0.001876, 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.399/1.399, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 76.97 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1379, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003941/0.1419, allocations: 1.696 MB / 481.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1438, allocations: 1.005 MB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.462e-05/0.144, allocations: 0 / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.1444, allocations: 63.73 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.1448, allocations: 103.6 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1451, allocations: 79.66 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1453, allocations: 99.7 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.476e-05/0.1453, allocations: 8.219 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.283e-05/0.1454, allocations: 47.78 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1456, allocations: 43.84 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1456, allocations: 4 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.1457, allocations: 39.97 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.1457, allocations: 23.86 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.1458, allocations: 31.75 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.146, allocations: 107.9 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.146, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.146, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.146, allocations: 0 / 483.5 MB, free: 1.816 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.0006148/0.1467, allocations: 406.9 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1467, allocations: 8.031 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.1468, allocations: 34.75 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.1468, allocations: 16.78 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1471, allocations: 212.8 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1471, allocations: 4.312 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1472, allocations: 3.938 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1473, allocations: 49.67 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1473, allocations: 0 / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1474, allocations: 8 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1474, allocations: 0 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.1475, allocations: 11.98 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.1477, allocations: 181.7 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1479, allocations: 58.5 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.148, allocations: 20.84 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.148, allocations: 4 kB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.1483, allocations: 67.3 kB / 484.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/0.1483, allocations: 0 / 484.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003139/0.1486, allocations: 97.52 kB / 484.6 MB, free: 488 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.1486, allocations: 51.41 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1489, allocations: 190.4 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1489, allocations: 29.7 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.149, allocations: 108.1 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.149, allocations: 11.75 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1491, allocations: 25.7 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1493, allocations: 326.8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.1493, allocations: 8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.647e-05/0.1494, allocations: 29.7 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1495, allocations: 45.7 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1495, allocations: 4.188 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001544/0.1497, allocations: 85.53 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1497, allocations: 4 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1497, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1497, allocations: 4 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.1498, allocations: 11.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1498, allocations: 3.938 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.1499, allocations: 8.031 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1499, allocations: 3.938 kB / 485.6 MB, free: 15.48 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 0.0001248/0.1501, allocations: 129.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1501, allocations: 15.81 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.1501, allocations: 13 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1502, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1502, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1502, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1503, allocations: 193.5 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1503, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.1504, allocations: 8 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1504, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1504, allocations: 4 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1504, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1504, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.1506, allocations: 112.9 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.1507, allocations: 89 kB / 486.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1507, allocations: 3.984 kB / 486.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.1507, allocations: 4 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.1508, allocations: 4 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1508, allocations: 0 / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1509, allocations: 148.2 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 4 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.1511, allocations: 23.91 kB / 486.3 MB, free: 14.65 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.001387/0.1525, allocations: 0.9479 MB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1527, allocations: 43.97 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1527, allocations: 0 / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.1528, allocations: 19.94 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.1531, allocations: 25.22 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1547, allocations: 1.506 MB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.155, allocations: 0.7049 MB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.289e-05/0.155, allocations: 16.53 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.1551, allocations: 31.42 kB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1551, allocations: 0 / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.1765, allocations: 3.074 MB / 492.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.647, allocations: 4.125 kB / 492.7 MB, free: 8.344 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches