Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 107.8 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.1 MB / 222.8 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3468/0.3468, allocations: 43.5 MB / 313.6 MB, free: 8.52 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 70.56 kB / 382.3 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1136, allocations: 57.78 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003006/0.1167, allocations: 1.756 MB / 441.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1179, allocations: 0.7963 MB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.1179, allocations: 0 / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.1182, allocations: 31.84 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.1184, allocations: 51.83 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1187, allocations: 75.84 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1188, allocations: 95.75 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.1189, allocations: 20.2 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.338e-05/0.119, allocations: 35.8 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.1191, allocations: 39.78 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1191, allocations: 4 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.1192, allocations: 43.92 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.1192, allocations: 23.92 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.1193, allocations: 31.8 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1195, allocations: 119.8 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1195, allocations: 0 / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1195, allocations: 3.938 kB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1195, allocations: 0 / 443.2 MB, free: 11.46 MB / 382.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.0004967/0.12, allocations: 410.9 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1201, allocations: 15.89 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.1201, allocations: 30.75 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1201, allocations: 12.84 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1204, allocations: 220.6 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1204, allocations: 384 / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1204, allocations: 7.938 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1205, allocations: 53.67 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1206, allocations: 0 / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1206, allocations: 0 / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1206, allocations: 0 / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.083e-05/0.1207, allocations: 19.98 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.121, allocations: 296.8 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1212, allocations: 50.67 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.1213, allocations: 20.86 kB / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1213, allocations: 0 / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.1215, allocations: 79.31 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1216, allocations: 0 / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005449/0.1221, allocations: 177.2 kB / 444.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1222, allocations: 59.28 kB / 444.7 MB, free: 9.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1224, allocations: 195.3 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1224, allocations: 29.7 kB / 444.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.1224, allocations: 108 kB / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1225, allocations: 27.73 kB / 445 MB, free: 9.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.1225, allocations: 17.72 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1227, allocations: 326.8 kB / 445.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.1227, allocations: 19.98 kB / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.1228, allocations: 37.7 kB / 445.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1229, allocations: 65.7 kB / 445.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1229, allocations: 4 kB / 445.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001756/0.1231, allocations: 97.5 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1231, allocations: 8 kB / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1231, allocations: 192 / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1231, allocations: 0 / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.1232, allocations: 23.86 kB / 445.6 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1232, allocations: 4 kB / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.1233, allocations: 3.938 kB / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1233, allocations: 4 kB / 445.6 MB, free: 8.844 MB / 382.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 9.464e-05/0.1234, allocations: 133.8 kB / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.1234, allocations: 15.81 kB / 445.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.1235, allocations: 13.41 kB / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1235, allocations: 0 / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1235, allocations: 7.984 kB / 445.8 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1235, allocations: 3.938 kB / 445.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.1239, allocations: 387.3 kB / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1239, allocations: 8.031 kB / 446.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.124, allocations: 8 kB / 446.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.124, allocations: 3.938 kB / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.124, allocations: 0 / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.124, allocations: 3.938 kB / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.124, allocations: 7.984 kB / 446.2 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1242, allocations: 200.3 kB / 446.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.1243, allocations: 88.92 kB / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1243, allocations: 8.312 kB / 446.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1244, allocations: 4 kB / 446.5 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1244, allocations: 11.92 kB / 446.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1244, allocations: 8 kB / 446.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1246, allocations: 156.9 kB / 446.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1246, allocations: 0 / 446.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1248, allocations: 24 kB / 446.7 MB, free: 7.664 MB / 382.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.001391/0.1262, allocations: 1.109 MB / 447.8 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1264, allocations: 59.92 kB / 447.8 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1264, allocations: 0 / 447.8 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.1265, allocations: 31.91 kB / 447.9 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1269, allocations: 35.83 kB / 447.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.1285, allocations: 1.674 MB / 449.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1288, allocations: 0.708 MB / 450.3 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.13e-05/0.1288, allocations: 13.19 kB / 450.3 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.1289, allocations: 35.42 kB / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1289, allocations: 0 / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.1427, allocations: 3.254 MB / 453.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003358/0.1431, allocations: 230.8 kB / 453.8 MB, free: 384 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.964, allocations: 0 / 453.8 MB, free: 384 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches