Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000838/0.000838, allocations: 93.67 kB / 17.35 MB, free: 6.344 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: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002601, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002018/0.1198, allocations: 1.446 MB / 484.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1214, allocations: 0.9941 MB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.1215, allocations: 0 / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1218, allocations: 35.86 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1221, allocations: 71.73 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1223, allocations: 63.88 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1224, allocations: 103.6 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.1225, allocations: 4 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.1226, allocations: 43.78 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.1227, allocations: 31.8 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1227, allocations: 7.938 kB / 486 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.1228, allocations: 43.98 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.1229, allocations: 19.84 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.123, allocations: 57.5 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1232, allocations: 107.9 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1232, allocations: 0 / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1232, allocations: 0 / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1232, allocations: 0 / 486.2 MB, free: 1.02 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.0005096/0.1237, allocations: 395.2 kB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1237, allocations: 8.875 kB / 486.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1238, allocations: 34.75 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.1238, allocations: 16.78 kB / 486.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.124, allocations: 208.1 kB / 486.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1241, allocations: 4.375 kB / 486.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1241, allocations: 3.938 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1242, allocations: 53.67 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1243, allocations: 0 / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1243, allocations: 4 kB / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1243, allocations: 0 / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.274e-05/0.1244, allocations: 19.98 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1248, allocations: 296.7 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1249, allocations: 54.67 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.125, allocations: 20.86 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.125, allocations: 4 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.1252, allocations: 67.39 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1252, allocations: 0 / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004991/0.1257, allocations: 169.2 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1258, allocations: 55.41 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1259, allocations: 178.1 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1259, allocations: 33.64 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.126, allocations: 100.1 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.126, allocations: 27.64 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.1261, allocations: 9.719 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.1262, allocations: 326.8 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.1262, allocations: 19.98 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.1263, allocations: 33.7 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1264, allocations: 65.95 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1264, allocations: 4 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.1266, allocations: 101.5 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1266, allocations: 4 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1266, allocations: 0 / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1267, allocations: 4 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.1267, allocations: 19.92 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1268, allocations: 0 / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.1268, allocations: 11.94 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1268, allocations: 15.95 kB / 488.5 MB, free: 14.45 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.735e-05/0.1269, allocations: 113.8 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.127, allocations: 19.8 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.127, allocations: 16.72 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.127, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.127, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.127, allocations: 3.938 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.1274, allocations: 391.3 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1274, allocations: 3.984 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.1275, allocations: 8 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1275, allocations: 3.938 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1275, allocations: 4 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1275, allocations: 4 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1275, allocations: 0 / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1277, allocations: 200.3 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.1278, allocations: 96.91 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1278, allocations: 3.938 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1279, allocations: 4 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.128, allocations: 7.984 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.128, allocations: 4 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1281, allocations: 127.2 kB / 489.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1281, allocations: 0 / 489.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1284, allocations: 31.98 kB / 489.5 MB, free: 13.32 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.001385/0.1298, allocations: 1.093 MB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1299, allocations: 55.91 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1299, allocations: 0 / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.13, allocations: 28 kB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1304, allocations: 38.94 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1319, allocations: 1.611 MB / 492.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.1321, allocations: 0.7041 MB / 493.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.1322, allocations: 17.19 kB / 493.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.1323, allocations: 31.42 kB / 493.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1323, allocations: 0 / 493.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.1443, allocations: 2.9 MB / 496 MB, free: 6.98 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.1445, allocations: 232.1 kB / 496.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.013, allocations: 0 / 496.2 MB, free: 6.727 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches