Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.001508/0.001508, 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 4.0.0+maint.om/package.mo): time 0.002037/0.002038, allocations: 192 kB / 18.56 MB, free: 4.434 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.43/1.43, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2005/0.2005, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.73 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003387/0.1195, allocations: 1.665 MB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1208, allocations: 0.8497 MB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.1209, allocations: 0 / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1212, allocations: 91.69 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1215, allocations: 75.72 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1218, allocations: 107.4 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.122, allocations: 107.6 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.122, allocations: 7.984 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.048e-05/0.1221, allocations: 47.84 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.287e-05/0.1222, allocations: 55.77 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1222, allocations: 4 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.048e-05/0.1223, allocations: 31.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.1224, allocations: 27.91 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.1224, allocations: 27.81 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.1226, allocations: 111.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1226, allocations: 3.938 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1226, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1226, allocations: 0 / 472.6 MB, free: 11.04 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.0005321/0.1232, allocations: 414.9 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1232, allocations: 12.03 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.1233, allocations: 30.75 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1233, allocations: 8.844 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1235, allocations: 208 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1235, allocations: 384 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.1236, allocations: 7.938 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1237, allocations: 53.61 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1237, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1237, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1237, allocations: 4 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.1238, allocations: 12 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.124, allocations: 189.7 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1242, allocations: 50.56 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1242, allocations: 20.84 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1243, allocations: 3.938 kB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.1245, allocations: 71.39 kB / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1245, allocations: 0 / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000273/0.1248, allocations: 89.58 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1248, allocations: 59.34 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.125, allocations: 211.5 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.125, allocations: 25.7 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.1251, allocations: 108.1 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1251, allocations: 23.73 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.1252, allocations: 17.72 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1253, allocations: 322.8 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.1253, allocations: 15.98 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.1254, allocations: 25.72 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1255, allocations: 45.7 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1255, allocations: 3.938 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001564/0.1257, allocations: 85.72 kB / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1257, allocations: 4 kB / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1257, allocations: 4.062 kB / 474.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1257, allocations: 3.984 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.1258, allocations: 12 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1258, allocations: 0 / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.1259, allocations: 7.906 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1259, allocations: 8.031 kB / 474.7 MB, free: 8.676 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.0001024/0.126, allocations: 134.5 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.126, allocations: 7.906 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.1261, allocations: 16.98 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1261, allocations: 0 / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1261, allocations: 0 / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1261, allocations: 7.984 kB / 474.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1262, allocations: 185.6 kB / 475 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1262, allocations: 0 / 475 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.1263, allocations: 8 kB / 475 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1263, allocations: 3.984 kB / 475 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1263, allocations: 0 / 475 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1263, allocations: 0 / 475 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1263, allocations: 0 / 475 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.1265, allocations: 120.8 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.1265, allocations: 81.02 kB / 475.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1266, allocations: 4 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.1266, allocations: 4 kB / 475.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.1266, allocations: 11.92 kB / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1267, allocations: 4 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1268, allocations: 160.2 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.127, allocations: 16 kB / 475.4 MB, free: 7.832 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.001206/0.1282, allocations: 0.9445 MB / 476.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1284, allocations: 43.91 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1284, allocations: 0 / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.1285, allocations: 20 kB / 476.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.1287, allocations: 34.08 kB / 476.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1302, allocations: 1.53 MB / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1306, allocations: 0.7041 MB / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.1306, allocations: 24.47 kB / 478.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.1307, allocations: 31.42 kB / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1307, allocations: 0 / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.1511, allocations: 3.094 MB / 481.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/7.931, allocations: 11.47 kB / 481.9 MB, free: 1.496 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches