Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_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.001076/0.001076, allocations: 109 kB / 16.27 MB, free: 5.93 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.001034/0.001034, allocations: 191.2 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2221/0.2221, allocations: 43.53 MB / 314 MB, free: 0.5195 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.001576/0.001576, allocations: 72.69 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1157, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002712/0.1185, allocations: 1.644 MB / 442.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1196, allocations: 0.7866 MB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.1197, allocations: 7.938 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.12, allocations: 47.81 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1202, allocations: 55.77 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1205, allocations: 91.62 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1206, allocations: 91.7 kB / 443.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.1207, allocations: 4.281 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.4e-05/0.1207, allocations: 39.84 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.1208, allocations: 27.8 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1208, allocations: 4 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.1209, allocations: 31.98 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.121, allocations: 23.91 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.121, allocations: 35.75 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1212, allocations: 119.6 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1213, allocations: 7.938 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1213, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1213, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.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.0004585/0.1217, allocations: 434.6 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1218, allocations: 19.88 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.1218, allocations: 30.75 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.1219, allocations: 8.844 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.122, allocations: 227.5 kB / 444.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.122, allocations: 4.375 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1221, allocations: 7.938 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1222, allocations: 53.61 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1222, allocations: 0 / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1222, allocations: 0 / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1222, allocations: 0 / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.1223, allocations: 12 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.1225, allocations: 197.6 kB / 444.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.1226, allocations: 58.55 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.1227, allocations: 16.86 kB / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1227, allocations: 0 / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.1228, allocations: 67.33 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1228, allocations: 0 / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002553/0.1231, allocations: 97.75 kB / 444.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.1231, allocations: 59.34 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1233, allocations: 255.7 kB / 445.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1233, allocations: 29.7 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.1234, allocations: 104.1 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.1234, allocations: 23.73 kB / 445.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1235, allocations: 17.72 kB / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.1235, allocations: 322.8 kB / 445.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.1236, allocations: 19.98 kB / 445.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.1236, allocations: 41.7 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.1237, allocations: 37.66 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1237, allocations: 3.938 kB / 445.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001297/0.1238, allocations: 93.42 kB / 445.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1239, allocations: 4 kB / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1239, allocations: 0 / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1239, allocations: 8.031 kB / 445.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.124, allocations: 8 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.124, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.124, allocations: 4 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.124, allocations: 4.141 kB / 445.9 MB, free: 1.281 MB / 318.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 8.423e-05/0.1241, allocations: 145.6 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.1242, allocations: 15.81 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.1242, allocations: 13 kB / 446 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1242, allocations: 4 kB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1242, allocations: 4 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1242, allocations: 0 / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1243, allocations: 197.5 kB / 446.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1243, allocations: 0 / 446.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.1244, allocations: 7.984 kB / 446.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1244, allocations: 0 / 446.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1244, allocations: 0 / 446.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1244, allocations: 3.984 kB / 446.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1244, allocations: 4 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.1246, allocations: 120.9 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.1246, allocations: 89 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1246, allocations: 0 / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.534e-05/0.1247, allocations: 8 kB / 446.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1247, allocations: 7.922 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1247, allocations: 4 kB / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1248, allocations: 191.3 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1248, allocations: 0 / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.1251, allocations: 20 kB / 446.7 MB, free: 376 kB / 318.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.001486/0.1266, allocations: 0.96 MB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.1268, allocations: 47.91 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1268, allocations: 0 / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.1268, allocations: 20.06 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1271, allocations: 30 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.1289, allocations: 1.647 MB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1292, allocations: 0.7156 MB / 450.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.1293, allocations: 12.55 kB / 450.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.1293, allocations: 35.42 kB / 450.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1294, allocations: 0 / 450.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.15, allocations: 3.323 MB / 453.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.009, allocations: 7.938 kB / 453.5 MB, free: 9.504 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches