Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.0007816/0.0007817, allocations: 95.67 kB / 17.35 MB, free: 6.344 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.0009145/0.0009145, allocations: 168.7 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1914/0.1914, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003116, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002099/0.1161, allocations: 1.417 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1174, allocations: 0.8459 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.1175, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.1177, allocations: 35.89 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1179, allocations: 39.84 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1182, allocations: 91.77 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1184, allocations: 99.67 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.1185, allocations: 16.23 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.246e-05/0.1186, allocations: 35.8 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.1187, allocations: 19.86 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1187, allocations: 4 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.1188, allocations: 47.91 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.1189, allocations: 15.92 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.1189, allocations: 61.44 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.1191, allocations: 107.9 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1191, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1191, allocations: 4 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1191, allocations: 0 / 475.2 MB, free: 10.37 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.0004927/0.1196, allocations: 401.3 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1197, allocations: 12.03 kB / 475.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1197, allocations: 30.75 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1198, allocations: 16.75 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.12, allocations: 216 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.12, allocations: 384 / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.1201, allocations: 7.938 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1202, allocations: 57.67 kB / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1202, allocations: 0 / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1203, allocations: 0 / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1203, allocations: 3.984 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.626e-05/0.1204, allocations: 19.98 kB / 475.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.1207, allocations: 284.8 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1209, allocations: 66.67 kB / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.121, allocations: 16.86 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.121, allocations: 7.938 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.1212, allocations: 67.33 kB / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1212, allocations: 0 / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005342/0.1217, allocations: 169.3 kB / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.1218, allocations: 59.33 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.122, allocations: 194.1 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.122, allocations: 25.7 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.122, allocations: 108.1 kB / 476.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1221, allocations: 19.72 kB / 476.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1221, allocations: 17.7 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1222, allocations: 322.8 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.1223, allocations: 20 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1223, allocations: 37.7 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1225, allocations: 61.64 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1225, allocations: 0 / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001766/0.1227, allocations: 97.5 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1227, allocations: 6.656 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1227, allocations: 32 / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1227, allocations: 7.984 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.1228, allocations: 19.94 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1228, allocations: 0 / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.1229, allocations: 12.12 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1229, allocations: 0 / 477.5 MB, free: 7.789 MB / 350.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.521e-05/0.123, allocations: 129.8 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.123, allocations: 7.906 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.123, allocations: 16.7 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1231, allocations: 4 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1231, allocations: 4 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1231, allocations: 4.312 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.1235, allocations: 391.5 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1235, allocations: 4 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.1235, allocations: 8 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1236, allocations: 3.938 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1236, allocations: 11.98 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1236, allocations: 4.031 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1236, allocations: 3.938 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.1238, allocations: 204.1 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1239, allocations: 89.02 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1239, allocations: 11.92 kB / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.124, allocations: 0 / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.124, allocations: 8 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.124, allocations: 11.98 kB / 478.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1242, allocations: 139.2 kB / 478.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1242, allocations: 0 / 478.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1244, allocations: 24 kB / 478.6 MB, free: 6.621 MB / 350.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.001439/0.1259, allocations: 1.092 MB / 479.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1261, allocations: 59.92 kB / 479.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1261, allocations: 8 kB / 479.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.58e-05/0.1261, allocations: 23.98 kB / 479.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1265, allocations: 31.97 kB / 479.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.1282, allocations: 1.642 MB / 481.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1284, allocations: 0.7004 MB / 482.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.727e-05/0.1285, allocations: 24.86 kB / 482.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.1285, allocations: 39.36 kB / 482.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1285, allocations: 0 / 482.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.1419, allocations: 2.938 MB / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.1422, allocations: 245.4 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.929, allocations: 3.938 kB / 485.4 MB, free: 15.96 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches