Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 103.5 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.001343/0.001343, 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.432/1.432, allocations: 227.3 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2601/0.2601, allocations: 46.09 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 76.12 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.131, allocations: 62.45 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003385/0.1344, allocations: 1.785 MB / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.136, allocations: 1.02 MB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.1361, allocations: 0 / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.1365, allocations: 43.83 kB / 482.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1368, allocations: 71.77 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.1369, allocations: 63.86 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1371, allocations: 99.64 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1372, allocations: 11.98 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.1373, allocations: 39.78 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.1374, allocations: 31.8 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1374, allocations: 4 kB / 482.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1376, allocations: 43.97 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.1376, allocations: 23.86 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.1377, allocations: 31.8 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1379, allocations: 111.9 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1379, allocations: 0 / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1379, allocations: 3.938 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1379, allocations: 0 / 482.8 MB, free: 2.215 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.0005256/0.1384, allocations: 411.1 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1385, allocations: 16.86 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.1385, allocations: 30.75 kB / 483.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.1386, allocations: 16.75 kB / 483.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1388, allocations: 216 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1388, allocations: 4.375 kB / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1389, allocations: 3.938 kB / 483.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.139, allocations: 53.67 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.139, allocations: 0 / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.139, allocations: 0 / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.139, allocations: 4 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.152e-05/0.1391, allocations: 19.98 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.1395, allocations: 284.9 kB / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1397, allocations: 58.61 kB / 483.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.1397, allocations: 20.86 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1398, allocations: 4 kB / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.14, allocations: 67.38 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.14, allocations: 0 / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005322/0.1405, allocations: 177.2 kB / 484.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1406, allocations: 55.34 kB / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1407, allocations: 183.3 kB / 484.4 MB, free: 428 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.1408, allocations: 33.7 kB / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.1408, allocations: 112 kB / 484.5 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1409, allocations: 27.59 kB / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.1409, allocations: 29.64 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.141, allocations: 318.8 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.1411, allocations: 20 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.1412, allocations: 37.7 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1413, allocations: 61.7 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1413, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.1415, allocations: 101.5 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1415, allocations: 8 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1415, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1415, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.1416, allocations: 12 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1416, allocations: 7.938 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.1417, allocations: 16.33 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.1417, allocations: 4 kB / 485.1 MB, free: 15.6 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 8.957e-05/0.1418, allocations: 117.8 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1418, allocations: 11.81 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1419, allocations: 21.39 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1419, allocations: 0 / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1419, allocations: 4 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1419, allocations: 3.938 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1423, allocations: 395.3 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1423, allocations: 0 / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.1424, allocations: 15.98 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1424, allocations: 3.938 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1424, allocations: 0 / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1424, allocations: 4 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1424, allocations: 0 / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1427, allocations: 204.2 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1427, allocations: 92.92 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1427, allocations: 7.922 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.1428, allocations: 0 / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.1428, allocations: 7.938 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1429, allocations: 7.984 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.143, allocations: 140 kB / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.143, allocations: 0 / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1432, allocations: 24.19 kB / 486.2 MB, free: 14.45 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.00143/0.1447, allocations: 1.091 MB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1449, allocations: 59.91 kB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1449, allocations: 0 / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.145, allocations: 24 kB / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1453, allocations: 35.09 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.147, allocations: 1.641 MB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1472, allocations: 0.7043 MB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.1473, allocations: 17.17 kB / 489.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.1474, allocations: 35.42 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1474, allocations: 4 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.161, allocations: 3.144 MB / 492.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.1613, allocations: 235.6 kB / 493.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.123, allocations: 0 / 493.2 MB, free: 7.57 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches