Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 104.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.001434/0.001434, 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.372/1.372, 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.2021/0.2021, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 79.31 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1027, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003399/0.1062, allocations: 1.693 MB / 481.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1078, allocations: 1.008 MB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.1079, allocations: 0 / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1082, allocations: 51.77 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.1086, allocations: 103.6 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1088, allocations: 75.67 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.109, allocations: 95.7 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.109, allocations: 8.219 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.1091, allocations: 35.8 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.701e-05/0.1092, allocations: 31.84 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1092, allocations: 4 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-05/0.1093, allocations: 31.98 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.1094, allocations: 31.86 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.1095, allocations: 47.61 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1097, allocations: 123.8 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1097, allocations: 0 / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1097, allocations: 0 / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1097, allocations: 0 / 483.5 MB, free: 1.836 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.0004987/0.1102, allocations: 434.7 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1103, allocations: 8.031 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.1103, allocations: 30.75 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.1104, allocations: 16.84 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1106, allocations: 220.9 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1106, allocations: 8.312 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.1106, allocations: 3.938 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1107, allocations: 49.66 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1108, allocations: 4 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1108, allocations: 0 / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1108, allocations: 0 / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.802e-05/0.1108, allocations: 15.98 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.111, allocations: 197.7 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1112, allocations: 54.5 kB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.1112, allocations: 20.84 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1113, allocations: 0 / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1115, allocations: 67.39 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1115, allocations: 3.938 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002633/0.1117, allocations: 97.48 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1118, allocations: 59.28 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.112, allocations: 267 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.112, allocations: 29.7 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.1121, allocations: 112.1 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1122, allocations: 11.89 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.1122, allocations: 21.72 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1123, allocations: 330.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.1124, allocations: 11.98 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.1124, allocations: 29.7 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1125, allocations: 41.97 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1126, allocations: 3.938 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001587/0.1127, allocations: 93.42 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1128, allocations: 8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1128, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1128, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.1129, allocations: 8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1129, allocations: 7.938 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.1129, allocations: 15.83 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1129, allocations: 4 kB / 485.7 MB, free: 15.35 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 9.313e-05/0.113, allocations: 133.8 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.1131, allocations: 11.91 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.1131, allocations: 17 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1131, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1131, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1131, allocations: 3.984 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.1133, allocations: 205.5 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1133, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.1133, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1133, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1133, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1133, allocations: 4 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1133, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.1135, allocations: 120.8 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.1136, allocations: 85.02 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.1136, allocations: 3.938 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.1136, allocations: 3.984 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.1137, allocations: 8.125 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1137, allocations: 15.98 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1139, allocations: 204.4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1139, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1141, allocations: 24 kB / 486.5 MB, free: 14.43 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.00121/0.1153, allocations: 0.9422 MB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1155, allocations: 43.98 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1155, allocations: 0 / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.948e-05/0.1155, allocations: 24.05 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1158, allocations: 33.27 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1174, allocations: 1.673 MB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.1177, allocations: 0.7127 MB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.1177, allocations: 16.55 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.1178, allocations: 39.42 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1178, allocations: 0 / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.1366, allocations: 3.404 MB / 493.4 MB, free: 7.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.459, allocations: 3.984 kB / 493.4 MB, free: 7.602 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches