Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.001427, allocations: 106.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001735, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.4 MB / 246.4 MB, free: 9.152 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 79.12 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1228, allocations: 62.44 MB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003316/0.1262, allocations: 1.792 MB / 481.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.1279, allocations: 1.01 MB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.128, allocations: 0 / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1283, allocations: 71.83 kB / 482.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.1286, allocations: 111.6 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1288, allocations: 67.81 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.129, allocations: 119.7 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.656e-05/0.1291, allocations: 4 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.1292, allocations: 59.7 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1294, allocations: 63.75 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1294, allocations: 4 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.1295, allocations: 39.98 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.1295, allocations: 27.92 kB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.1296, allocations: 39.72 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1298, allocations: 131.8 kB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1299, allocations: 0 / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1299, allocations: 0 / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1299, allocations: 0 / 483.1 MB, free: 1.945 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.0005651/0.1304, allocations: 418.9 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1305, allocations: 12.03 kB / 483.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.1305, allocations: 30.75 kB / 483.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.1306, allocations: 16.75 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1308, allocations: 216.5 kB / 483.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1308, allocations: 12.31 kB / 483.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1308, allocations: 7.922 kB / 483.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.131, allocations: 57.61 kB / 483.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.131, allocations: 4 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.131, allocations: 0 / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.131, allocations: 0 / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.1311, allocations: 23.98 kB / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.1315, allocations: 284.9 kB / 484.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1317, allocations: 62.61 kB / 484.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.1318, allocations: 16.86 kB / 484.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.1318, allocations: 4 kB / 484.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.1321, allocations: 67.39 kB / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1321, allocations: 0 / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000484/0.1326, allocations: 181 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1326, allocations: 51.41 kB / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1328, allocations: 224.2 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1329, allocations: 29.7 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.1329, allocations: 108.1 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.133, allocations: 35.62 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.133, allocations: 21.72 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1332, allocations: 322.8 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.1332, allocations: 23.98 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.187e-05/0.1333, allocations: 41.58 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1335, allocations: 57.72 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1335, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000179/0.1337, allocations: 105.4 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1337, allocations: 4 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1337, allocations: 4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.1337, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.1338, allocations: 15.98 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1338, allocations: 160 / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.1338, allocations: 11.94 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1339, allocations: 4.375 kB / 485.6 MB, free: 15.27 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 0.0002013/0.1341, allocations: 133.8 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.1341, allocations: 15.91 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.1341, allocations: 17.39 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1341, allocations: 11.92 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1342, allocations: 7.984 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1342, allocations: 3.938 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.1346, allocations: 399.2 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1346, allocations: 0 / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.1346, allocations: 11.98 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1346, allocations: 7.938 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1346, allocations: 0 / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1346, allocations: 0 / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1346, allocations: 0 / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.1349, allocations: 208.3 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1349, allocations: 88.92 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1349, allocations: 3.938 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.135, allocations: 7.984 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.135, allocations: 4 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1351, allocations: 4 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1352, allocations: 169.2 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1352, allocations: 0 / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1354, allocations: 20 kB / 486.6 MB, free: 14.07 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.001337/0.1368, allocations: 1.103 MB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.137, allocations: 55.92 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.137, allocations: 0 / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.44e-05/0.137, allocations: 31.98 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1374, allocations: 30.66 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.1391, allocations: 1.723 MB / 489.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1395, allocations: 0.7196 MB / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.1396, allocations: 16.88 kB / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.1397, allocations: 39.36 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1397, allocations: 0 / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.1692, allocations: 3.375 MB / 493.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/0.1695, allocations: 246.1 kB / 494 MB, free: 6.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.163, allocations: 3.938 kB / 494 MB, free: 6.848 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches