Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.0007958/0.0007959, allocations: 92.72 kB / 17.35 MB, free: 6.375 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.0008282/0.0008283, allocations: 181.8 kB / 18.26 MB, free: 5.52 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.263/1.263, 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.2029/0.2029, allocations: 44.24 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003208, allocations: 9.438 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1204, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002049/0.1225, allocations: 1.378 MB / 473.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1238, allocations: 0.8304 MB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.1239, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.1242, allocations: 47.86 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1244, allocations: 59.81 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1246, allocations: 91.77 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1248, allocations: 91.69 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.1248, allocations: 4 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.1249, allocations: 35.84 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.125, allocations: 39.72 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.125, allocations: 4 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-05/0.1251, allocations: 35.98 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.1252, allocations: 19.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.1252, allocations: 65.38 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1254, allocations: 107.9 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1254, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1254, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1255, allocations: 0 / 475.2 MB, free: 10.39 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.000514/0.126, allocations: 425 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.126, allocations: 16.03 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.1261, allocations: 30.75 kB / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.1261, allocations: 8.844 kB / 475.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1263, allocations: 220 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1264, allocations: 384 / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1264, allocations: 3.938 kB / 475.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1265, allocations: 49.67 kB / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1265, allocations: 0 / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1265, allocations: 0 / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1265, allocations: 4 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.216e-05/0.1266, allocations: 23.92 kB / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.1268, allocations: 193.6 kB / 476.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.127, allocations: 54.55 kB / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.127, allocations: 20.84 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1271, allocations: 0 / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.1273, allocations: 71.33 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.502e-06/0.1273, allocations: 0 / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002839/0.1276, allocations: 97.56 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1276, allocations: 51.41 kB / 476.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1279, allocations: 262.9 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1279, allocations: 25.7 kB / 476.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.128, allocations: 112.1 kB / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.128, allocations: 19.81 kB / 476.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.128, allocations: 13.72 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1282, allocations: 326.8 kB / 477.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.1282, allocations: 15.98 kB / 477.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.353e-05/0.1283, allocations: 33.64 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.867e-05/0.1284, allocations: 45.64 kB / 477.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1284, allocations: 7.938 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000148/0.1285, allocations: 89.44 kB / 477.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1286, allocations: 4 kB / 477.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1286, allocations: 4 kB / 477.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1286, allocations: 0 / 477.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.1287, allocations: 8 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1287, allocations: 3.984 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.1287, allocations: 7.938 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1287, allocations: 4 kB / 477.4 MB, free: 7.938 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 (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 0.0001025/0.1289, allocations: 140.5 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.1289, allocations: 15.81 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.1289, allocations: 20.98 kB / 477.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1289, allocations: 0 / 477.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1289, allocations: 3.938 kB / 477.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.129, allocations: 0 / 477.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.1291, allocations: 193.6 kB / 477.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1291, allocations: 320 / 477.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.1291, allocations: 7.938 kB / 477.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1291, allocations: 4 kB / 477.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1292, allocations: 8 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1292, allocations: 0 / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1292, allocations: 0 / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.1294, allocations: 116.9 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.522e-05/0.1294, allocations: 85.02 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1294, allocations: 7.984 kB / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/0.1295, allocations: 4 kB / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.1295, allocations: 8 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1295, allocations: 0 / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1297, allocations: 204.2 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1297, allocations: 0 / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.1299, allocations: 19.91 kB / 478.2 MB, free: 7.02 MB / 350.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.001268/0.1312, allocations: 0.9542 MB / 479.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1314, allocations: 43.92 kB / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1314, allocations: 0 / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.1314, allocations: 19.98 kB / 479.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.1317, allocations: 23.98 kB / 479.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.1334, allocations: 1.669 MB / 480.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1336, allocations: 0.716 MB / 481.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.1337, allocations: 16.53 kB / 481.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.1337, allocations: 39.42 kB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1337, allocations: 0 / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.1473, allocations: 2.962 MB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.1475, allocations: 245.2 kB / 484.9 MB, free: 460 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.868, allocations: 0 / 484.9 MB, free: 460 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches