Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.001103/0.001103, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001264/0.001264, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.409/1.409, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2113/0.2113, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.42 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1122, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003145/0.1154, allocations: 1.699 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1167, allocations: 0.873 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.1168, allocations: 4 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.117, allocations: 91.67 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.1173, allocations: 63.73 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1176, allocations: 119.5 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1178, allocations: 111.7 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1179, allocations: 4.234 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.118, allocations: 59.77 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.993e-05/0.1181, allocations: 55.81 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1182, allocations: 4 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.1183, allocations: 35.98 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1183, allocations: 23.86 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.1184, allocations: 35.69 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1186, allocations: 127.8 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1186, allocations: 0 / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1186, allocations: 0 / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1186, allocations: 0 / 472.7 MB, free: 10.94 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.0005412/0.1192, allocations: 418.9 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1192, allocations: 8.031 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.1193, allocations: 38.73 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.1193, allocations: 8.844 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1195, allocations: 215.9 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1195, allocations: 384 / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1196, allocations: 11.92 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1197, allocations: 53.67 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1197, allocations: 4 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1197, allocations: 0 / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1197, allocations: 0 / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.1198, allocations: 19.98 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.1201, allocations: 288.8 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1203, allocations: 54.67 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.1204, allocations: 24.86 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1204, allocations: 0 / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.1206, allocations: 63.39 kB / 473.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1206, allocations: 7.875 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005106/0.1211, allocations: 189.3 kB / 474 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1211, allocations: 51.41 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1213, allocations: 223.8 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1214, allocations: 29.7 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.1214, allocations: 100.1 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1214, allocations: 27.64 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.1215, allocations: 21.72 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1216, allocations: 330.8 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/0.1217, allocations: 12 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.1217, allocations: 41.7 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1219, allocations: 57.7 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1219, allocations: 3.938 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001669/0.122, allocations: 101.6 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1221, allocations: 4.188 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1221, allocations: 0 / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1221, allocations: 3.938 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.1222, allocations: 31.95 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1222, allocations: 0 / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.1222, allocations: 7.938 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1223, allocations: 0 / 475.1 MB, free: 8.289 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.85e-05/0.1224, allocations: 133.8 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1224, allocations: 11.81 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.1224, allocations: 21.39 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1224, allocations: 0 / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1225, allocations: 0 / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1225, allocations: 7.938 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.1229, allocations: 387.3 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1229, allocations: 4 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.1229, allocations: 7.984 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1229, allocations: 7.938 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.123, allocations: 0 / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.123, allocations: 0 / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.123, allocations: 4 kB / 475.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1232, allocations: 212.2 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.1233, allocations: 81.02 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1233, allocations: 15.86 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.1234, allocations: 4 kB / 475.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.1234, allocations: 4 kB / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1234, allocations: 7.984 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1235, allocations: 163.5 kB / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1236, allocations: 0 / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1238, allocations: 28 kB / 476.1 MB, free: 7.105 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.001444/0.1253, allocations: 1.096 MB / 477.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1255, allocations: 55.91 kB / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1255, allocations: 0 / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.1256, allocations: 40.03 kB / 477.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1259, allocations: 35.3 kB / 477.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.1277, allocations: 1.687 MB / 479.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.128, allocations: 0.7041 MB / 479.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.86e-05/0.128, allocations: 16.55 kB / 479.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.1281, allocations: 35.42 kB / 479.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1281, allocations: 4 kB / 479.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.1491, allocations: 3.395 MB / 483.2 MB, free: 164 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.663, allocations: 10.28 kB / 483.2 MB, free: 156 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches