Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 79.88 kB / 417 MB, free: 7.422 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1394, allocations: 62.44 MB / 479.4 MB, free: 8.926 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003616/0.1431, allocations: 1.785 MB / 481.2 MB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.145, allocations: 1.025 MB / 482.2 MB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1451, allocations: 0 / 482.2 MB, free: 6.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1455, allocations: 39.88 kB / 482.2 MB, free: 6.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.1458, allocations: 83.67 kB / 482.3 MB, free: 5.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1461, allocations: 55.89 kB / 482.4 MB, free: 5.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1463, allocations: 107.6 kB / 482.5 MB, free: 5.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1464, allocations: 15.98 kB / 482.5 MB, free: 5.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1465, allocations: 43.72 kB / 482.5 MB, free: 5.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.1466, allocations: 27.86 kB / 482.6 MB, free: 5.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1467, allocations: 4 kB / 482.6 MB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1468, allocations: 43.97 kB / 482.6 MB, free: 5.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.1469, allocations: 19.92 kB / 482.6 MB, free: 5.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.1469, allocations: 35.73 kB / 482.7 MB, free: 5.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.1472, allocations: 119.8 kB / 482.8 MB, free: 5.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1472, allocations: 8 kB / 482.8 MB, free: 5.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1472, allocations: 0 / 482.8 MB, free: 5.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1472, allocations: 0 / 482.8 MB, free: 5.496 MB / 398.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.0005707/0.1478, allocations: 419 kB / 483.2 MB, free: 5.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1478, allocations: 8.875 kB / 483.2 MB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.1479, allocations: 34.75 kB / 483.2 MB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1479, allocations: 8.844 kB / 483.3 MB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1482, allocations: 220 kB / 483.5 MB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1482, allocations: 4.375 kB / 483.5 MB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1482, allocations: 11.94 kB / 483.5 MB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1484, allocations: 57.61 kB / 483.5 MB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1484, allocations: 3.984 kB / 483.5 MB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1484, allocations: 0 / 483.5 MB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1485, allocations: 3.938 kB / 483.6 MB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.1485, allocations: 19.98 kB / 483.6 MB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.149, allocations: 280.9 kB / 483.8 MB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1491, allocations: 66.61 kB / 483.9 MB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.1492, allocations: 16.86 kB / 483.9 MB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1492, allocations: 4 kB / 483.9 MB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.1495, allocations: 63.39 kB / 484 MB, free: 4.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1495, allocations: 0 / 484 MB, free: 4.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005809/0.1501, allocations: 189.3 kB / 484.2 MB, free: 3.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1501, allocations: 51.41 kB / 484.2 MB, free: 3.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1503, allocations: 218.8 kB / 484.4 MB, free: 3.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1503, allocations: 29.7 kB / 484.5 MB, free: 3.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.1504, allocations: 100.1 kB / 484.6 MB, free: 3.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1505, allocations: 23.7 kB / 484.6 MB, free: 3.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.1505, allocations: 21.72 kB / 484.6 MB, free: 3.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1506, allocations: 330.8 kB / 484.9 MB, free: 3.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.1507, allocations: 16.06 kB / 485 MB, free: 3.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.1508, allocations: 49.58 kB / 485 MB, free: 3.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1509, allocations: 57.7 kB / 485.1 MB, free: 2.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1509, allocations: 0 / 485.1 MB, free: 2.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.1511, allocations: 101.5 kB / 485.2 MB, free: 2.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1511, allocations: 8.031 kB / 485.2 MB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1511, allocations: 0 / 485.2 MB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1512, allocations: 0 / 485.2 MB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.066e-05/0.1513, allocations: 19.98 kB / 485.2 MB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1513, allocations: 0 / 485.2 MB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.1513, allocations: 19.78 kB / 485.2 MB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1514, allocations: 0 / 485.2 MB, free: 2.844 MB / 398.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.0001012/0.1515, allocations: 129.8 kB / 485.3 MB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1515, allocations: 11.89 kB / 485.3 MB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.1515, allocations: 29.39 kB / 485.4 MB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1515, allocations: 0 / 485.4 MB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1516, allocations: 0 / 485.4 MB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1516, allocations: 3.938 kB / 485.4 MB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.152, allocations: 387.3 kB / 485.8 MB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.152, allocations: 0 / 485.8 MB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.1521, allocations: 15.92 kB / 485.8 MB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1521, allocations: 7.938 kB / 485.8 MB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1521, allocations: 4.031 kB / 485.8 MB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1521, allocations: 0 / 485.8 MB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1521, allocations: 0 / 485.8 MB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1524, allocations: 216.3 kB / 486 MB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.1524, allocations: 85 kB / 486.1 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1525, allocations: 7.938 kB / 486.1 MB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.1525, allocations: 0 / 486.1 MB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.1526, allocations: 15.98 kB / 486.1 MB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1526, allocations: 4 kB / 486.1 MB, free: 1.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1527, allocations: 156.3 kB / 486.3 MB, free: 1.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1528, allocations: 0 / 486.3 MB, free: 1.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.153, allocations: 24 kB / 486.3 MB, free: 1.66 MB / 398.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.001504/0.1545, allocations: 1.092 MB / 487.4 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1547, allocations: 59.91 kB / 487.4 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1547, allocations: 4 kB / 487.4 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.1548, allocations: 31.92 kB / 487.5 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1552, allocations: 19.98 kB / 487.5 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.157, allocations: 1.691 MB / 489.2 MB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1574, allocations: 0.7121 MB / 489.9 MB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.1574, allocations: 28.72 kB / 489.9 MB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.1575, allocations: 35.42 kB / 489.9 MB, free: 14.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1575, allocations: 0 / 489.9 MB, free: 14.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.1722, allocations: 3.25 MB / 493.2 MB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.1724, allocations: 235.8 kB / 493.4 MB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.089, allocations: 0 / 493.4 MB, free: 10.6 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches