Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 79.09 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1327, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003871/0.1366, allocations: 1.692 MB / 481.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1385, allocations: 1.002 MB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1387, allocations: 4 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.139, allocations: 63.72 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.1395, allocations: 103.6 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1398, allocations: 75.66 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.1401, allocations: 103.7 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.951e-05/0.1401, allocations: 16.19 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1403, allocations: 43.8 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1404, allocations: 47.83 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1404, allocations: 4 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1405, allocations: 39.92 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.1406, allocations: 23.86 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.1407, allocations: 31.73 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1409, allocations: 107.9 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1409, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1409, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1409, allocations: 0 / 483.5 MB, free: 1.801 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.0006073/0.1415, allocations: 402.9 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1416, allocations: 12.03 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.1417, allocations: 30.75 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.1417, allocations: 12.84 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.142, allocations: 220.7 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.142, allocations: 384 / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.142, allocations: 3.938 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1422, allocations: 49.67 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1422, allocations: 0 / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1422, allocations: 0 / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1422, allocations: 4 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.1423, allocations: 15.98 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.1426, allocations: 177.7 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1428, allocations: 62.5 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.1428, allocations: 20.84 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1429, allocations: 0 / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.1432, allocations: 71.3 kB / 484.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.1432, allocations: 0 / 484.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003188/0.1435, allocations: 97.52 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1435, allocations: 51.41 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1438, allocations: 190.4 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1438, allocations: 29.7 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.787e-05/0.1439, allocations: 108.1 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1439, allocations: 7.812 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.144, allocations: 25.7 kB / 485 MB, free: 24 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1441, allocations: 318.8 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.1442, allocations: 12 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.1443, allocations: 37.69 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1444, allocations: 49.64 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.1444, allocations: 4.188 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001664/0.1446, allocations: 81.59 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1446, allocations: 4 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.1446, allocations: 0 / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1446, allocations: 4 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.1447, allocations: 15.92 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1447, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.1448, allocations: 7.938 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1448, allocations: 4.031 kB / 485.6 MB, free: 15.47 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.0001208/0.1449, allocations: 129.8 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.145, allocations: 15.81 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.145, allocations: 16.94 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.145, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1451, allocations: 3.984 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1451, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1452, allocations: 193.5 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1452, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.1453, allocations: 4 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1453, allocations: 4 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1453, allocations: 4 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1453, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1453, allocations: 3.938 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1455, allocations: 105 kB / 486 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1456, allocations: 89.02 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1456, allocations: 3.984 kB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.1456, allocations: 4 kB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1457, allocations: 4 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1457, allocations: 0 / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1459, allocations: 148.2 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1459, allocations: 4 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1461, allocations: 23.91 kB / 486.3 MB, free: 14.63 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.001389/0.1475, allocations: 0.9406 MB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1477, allocations: 39.97 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.1477, allocations: 0 / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.1478, allocations: 23.94 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1481, allocations: 33.95 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1498, allocations: 1.517 MB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1501, allocations: 0.701 MB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.898e-05/0.1502, allocations: 16.55 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.1503, allocations: 31.42 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1503, allocations: 0 / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.1735, allocations: 3.068 MB / 492.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.544, allocations: 4.125 kB / 492.7 MB, free: 8.324 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches