Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 103.1 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.001332/0.001332, allocations: 216.5 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.36/1.36, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.199/0.199, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 75.25 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1083, allocations: 62.45 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00305/0.1114, allocations: 1.836 MB / 482 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1137, allocations: 1.698 MB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.462e-05/0.1138, allocations: 0 / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.114, allocations: 55.61 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.1144, allocations: 135.4 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1147, allocations: 111.6 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.115, allocations: 195.4 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.115, allocations: 9.688 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1151, allocations: 91.56 kB / 484.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1154, allocations: 83.61 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.1154, allocations: 8 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.1156, allocations: 119.9 kB / 484.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.1157, allocations: 27.86 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.1157, allocations: 67.53 kB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.116, allocations: 223.6 kB / 484.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.116, allocations: 0 / 484.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1161, allocations: 3.984 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1161, allocations: 0 / 484.8 MB, free: 0.4922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006403/0.1167, allocations: 490.8 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1167, allocations: 12.02 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.1168, allocations: 38.69 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.1169, allocations: 20.66 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1171, allocations: 260.9 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1172, allocations: 384 / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1172, allocations: 7.938 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.1174, allocations: 101 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1174, allocations: 8 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1174, allocations: 0 / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1174, allocations: 0 / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1175, allocations: 27.98 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.1178, allocations: 218.5 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.118, allocations: 117.1 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.1181, allocations: 41.69 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1182, allocations: 4 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.1184, allocations: 109 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1184, allocations: 0 / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004439/0.1189, allocations: 165.4 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.1189, allocations: 136.5 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.1192, allocations: 229.6 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1192, allocations: 29.7 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.1193, allocations: 120.1 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.1194, allocations: 31.64 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1194, allocations: 33.7 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1195, allocations: 326.8 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.1196, allocations: 27.98 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1197, allocations: 73.12 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1199, allocations: 99.83 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1199, allocations: 3.938 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002744/0.1202, allocations: 141.2 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1202, allocations: 4 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1203, allocations: 4 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1203, allocations: 64 / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1204, allocations: 23.98 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1204, allocations: 4 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.375e-05/0.1205, allocations: 8 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1205, allocations: 4 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001141/0.1206, allocations: 137.7 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1207, allocations: 19.72 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.1207, allocations: 24.98 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1207, allocations: 0 / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1207, allocations: 4 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1207, allocations: 4 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1209, allocations: 221.5 kB / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1209, allocations: 0 / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.121, allocations: 11.98 kB / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.121, allocations: 0 / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.121, allocations: 8 kB / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.121, allocations: 0 / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.121, allocations: 0 / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.1213, allocations: 177.7 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.1214, allocations: 100.9 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.1215, allocations: 0 / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.1215, allocations: 7.984 kB / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1216, allocations: 8 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1216, allocations: 7.984 kB / 488.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1218, allocations: 184.4 kB / 488.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1218, allocations: 4 kB / 488.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1221, allocations: 47.98 kB / 488.6 MB, free: 12.27 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001563/0.1237, allocations: 1.094 MB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.1239, allocations: 91.84 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.124, allocations: 0 / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1241, allocations: 43.91 kB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1244, allocations: 58.34 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.1266, allocations: 1.876 MB / 491.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1269, allocations: 0.7164 MB / 492.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.127, allocations: 41.52 kB / 492.5 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1271, allocations: 55.41 kB / 492.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1271, allocations: 4 kB / 492.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.1488, allocations: 5.186 MB / 497.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.518, allocations: 11.94 kB / 497.8 MB, free: 3.184 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches