Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001254, allocations: 116.1 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 75.88 kB / 417.2 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1289, allocations: 62.44 MB / 479.6 MB, free: 8.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004509/0.1334, allocations: 1.788 MB / 481.4 MB, free: 7.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1354, allocations: 1.009 MB / 482.4 MB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.1355, allocations: 0 / 482.4 MB, free: 6.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1358, allocations: 47.83 kB / 482.5 MB, free: 5.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.1362, allocations: 83.73 kB / 482.5 MB, free: 5.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1364, allocations: 59.89 kB / 482.6 MB, free: 5.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1366, allocations: 107.6 kB / 482.7 MB, free: 5.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.1367, allocations: 12 kB / 482.7 MB, free: 5.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.551e-05/0.1368, allocations: 43.78 kB / 482.8 MB, free: 5.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.1369, allocations: 35.78 kB / 482.8 MB, free: 5.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1369, allocations: 8 kB / 482.8 MB, free: 5.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1371, allocations: 43.98 kB / 482.8 MB, free: 5.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.1371, allocations: 19.92 kB / 482.9 MB, free: 5.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.1372, allocations: 43.67 kB / 482.9 MB, free: 5.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1375, allocations: 119.9 kB / 483 MB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1375, allocations: 0 / 483 MB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1375, allocations: 0 / 483 MB, free: 5.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1375, allocations: 4 kB / 483 MB, free: 5.422 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.0006543/0.1382, allocations: 418.9 kB / 483.4 MB, free: 4.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1382, allocations: 12.03 kB / 483.4 MB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.1383, allocations: 34.75 kB / 483.5 MB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.1383, allocations: 8.844 kB / 483.5 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1386, allocations: 219.9 kB / 483.7 MB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1386, allocations: 8.312 kB / 483.7 MB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1387, allocations: 3.938 kB / 483.7 MB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1388, allocations: 53.67 kB / 483.8 MB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1388, allocations: 4 kB / 483.8 MB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1389, allocations: 0 / 483.8 MB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1389, allocations: 0 / 483.8 MB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.1389, allocations: 27.98 kB / 483.8 MB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.1393, allocations: 288.9 kB / 484.1 MB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1394, allocations: 58.62 kB / 484.1 MB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.1395, allocations: 20.84 kB / 484.2 MB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1395, allocations: 8 kB / 484.2 MB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.1397, allocations: 67.39 kB / 484.2 MB, free: 4.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1397, allocations: 0 / 484.2 MB, free: 4.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005382/0.1403, allocations: 177 kB / 484.4 MB, free: 3.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.1403, allocations: 55.41 kB / 484.5 MB, free: 3.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.1405, allocations: 210.8 kB / 484.7 MB, free: 3.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1405, allocations: 29.7 kB / 484.7 MB, free: 3.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.1406, allocations: 108.1 kB / 484.8 MB, free: 3.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.1406, allocations: 23.7 kB / 484.8 MB, free: 3.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1407, allocations: 25.66 kB / 484.8 MB, free: 3.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1408, allocations: 322.8 kB / 485.2 MB, free: 3.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.1409, allocations: 27.92 kB / 485.2 MB, free: 3.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.1409, allocations: 37.7 kB / 485.2 MB, free: 2.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1411, allocations: 61.69 kB / 485.3 MB, free: 2.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1411, allocations: 0 / 485.3 MB, free: 2.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001715/0.1412, allocations: 105.6 kB / 485.4 MB, free: 2.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1413, allocations: 4 kB / 485.4 MB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1413, allocations: 0 / 485.4 MB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1413, allocations: 0 / 485.4 MB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.1414, allocations: 19.98 kB / 485.4 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1414, allocations: 0 / 485.4 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.1414, allocations: 11.78 kB / 485.4 MB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1414, allocations: 8.031 kB / 485.4 MB, free: 2.766 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 9.365e-05/0.1415, allocations: 133.8 kB / 485.6 MB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.1416, allocations: 11.89 kB / 485.6 MB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.1416, allocations: 17.59 kB / 485.6 MB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1416, allocations: 3.984 kB / 485.6 MB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1416, allocations: 3.938 kB / 485.6 MB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1416, allocations: 3.938 kB / 485.6 MB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.1421, allocations: 395.3 kB / 486 MB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1421, allocations: 0 / 486 MB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.1421, allocations: 15.98 kB / 486 MB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1421, allocations: 3.938 kB / 486 MB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.1421, allocations: 4 kB / 486 MB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1422, allocations: 0 / 486 MB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1422, allocations: 0 / 486 MB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1424, allocations: 204.2 kB / 486.2 MB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1424, allocations: 89.02 kB / 486.3 MB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1425, allocations: 8.312 kB / 486.3 MB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.1425, allocations: 3.984 kB / 486.3 MB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1426, allocations: 4 kB / 486.3 MB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1426, allocations: 12 kB / 486.3 MB, free: 1.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1427, allocations: 156.3 kB / 486.5 MB, free: 1.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1427, allocations: 0 / 486.5 MB, free: 1.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.143, allocations: 28 kB / 486.5 MB, free: 1.582 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.001361/0.1443, allocations: 1.094 MB / 487.6 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1445, allocations: 63.89 kB / 487.7 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1445, allocations: 4 kB / 487.7 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.505e-05/0.1446, allocations: 27.98 kB / 487.7 MB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1449, allocations: 19.98 kB / 487.7 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.1466, allocations: 1.705 MB / 489.4 MB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1468, allocations: 0.7157 MB / 490.1 MB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.001e-05/0.1469, allocations: 8.562 kB / 490.1 MB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.147, allocations: 39.41 kB / 490.2 MB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.147, allocations: 0 / 490.2 MB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0824/0.2294, allocations: 3.338 MB / 493.5 MB, free: 10.69 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.2296, allocations: 248.3 kB / 493.8 MB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.206, allocations: 2.625 kB / 493.8 MB, free: 10.43 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches