Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",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.001154/0.001154, allocations: 96.94 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001131, allocations: 184.9 kB / 16.92 MB, free: 6.934 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.527/1.527, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3611/0.3611, allocations: 43.58 MB / 315 MB, free: 9.066 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.0006845/0.0006842, allocations: 12 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1169, allocations: 58.86 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002168/0.1191, allocations: 1.418 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1204, allocations: 0.7768 MB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.1205, allocations: 0 / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.1208, allocations: 43.83 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.121, allocations: 43.83 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1213, allocations: 79.84 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1215, allocations: 91.7 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1216, allocations: 12.2 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1217, allocations: 39.78 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.1218, allocations: 27.86 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1218, allocations: 0 / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1219, allocations: 47.91 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.122, allocations: 19.92 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.1221, allocations: 57.45 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1223, allocations: 111.9 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1223, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1223, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1223, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.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.0005892/0.1229, allocations: 403 kB / 446.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.123, allocations: 12.02 kB / 446.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.123, allocations: 34.75 kB / 446.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.1231, allocations: 8.844 kB / 446.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1234, allocations: 220.6 kB / 447 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1234, allocations: 4.375 kB / 447 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.1234, allocations: 7.938 kB / 447 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.1237, allocations: 53.67 kB / 447 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1237, allocations: 0 / 447 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.1237, allocations: 8 kB / 447 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1237, allocations: 0 / 447 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.102e-05/0.1238, allocations: 15.98 kB / 447.1 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.1244, allocations: 292.8 kB / 447.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1246, allocations: 58.67 kB / 447.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.1246, allocations: 16.86 kB / 447.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1247, allocations: 0 / 447.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.1249, allocations: 75.33 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.125, allocations: 0 / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006477/0.1256, allocations: 173.2 kB / 447.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.1257, allocations: 55.34 kB / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1259, allocations: 199.3 kB / 447.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1259, allocations: 29.7 kB / 447.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.126, allocations: 104.1 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.1261, allocations: 27.64 kB / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.1261, allocations: 21.72 kB / 448.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1263, allocations: 322.8 kB / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.1264, allocations: 19.98 kB / 448.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.1264, allocations: 37.7 kB / 448.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1266, allocations: 57.66 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1266, allocations: 3.938 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.1268, allocations: 105.5 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1268, allocations: 4 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1268, allocations: 0 / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1268, allocations: 0 / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/0.1269, allocations: 23.92 kB / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1269, allocations: 0 / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.127, allocations: 11.94 kB / 448.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.127, allocations: 0 / 448.7 MB, free: 7.422 MB / 382.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 0.0001138/0.1271, allocations: 133.8 kB / 448.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1271, allocations: 7.906 kB / 448.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.1272, allocations: 17.41 kB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1272, allocations: 4 kB / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1272, allocations: 0 / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1272, allocations: 3.938 kB / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.1277, allocations: 395.4 kB / 449.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1277, allocations: 0 / 449.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.1278, allocations: 16.41 kB / 449.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1278, allocations: 3.938 kB / 449.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1278, allocations: 0 / 449.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.1278, allocations: 8 kB / 449.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1278, allocations: 4.016 kB / 449.2 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.128, allocations: 204.3 kB / 449.4 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.1281, allocations: 92.91 kB / 449.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1282, allocations: 7.938 kB / 449.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1282, allocations: 4 kB / 449.5 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.1283, allocations: 11.98 kB / 449.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1283, allocations: 4 kB / 449.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1284, allocations: 152.9 kB / 449.7 MB, free: 6.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1284, allocations: 192 / 449.7 MB, free: 6.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1287, allocations: 24 kB / 449.7 MB, free: 6.242 MB / 382.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.001562/0.1303, allocations: 1.108 MB / 450.8 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1305, allocations: 51.92 kB / 450.9 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1305, allocations: 0 / 450.9 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.1305, allocations: 31.98 kB / 450.9 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1309, allocations: 27.97 kB / 451 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1329, allocations: 1.697 MB / 452.6 MB, free: 3.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1332, allocations: 0.7124 MB / 453.4 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.629e-05/0.1333, allocations: 12.88 kB / 453.4 MB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.1333, allocations: 35.42 kB / 453.4 MB, free: 2.457 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1333, allocations: 0 / 453.4 MB, free: 2.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/0.3615, allocations: 2.978 MB / 456.4 MB, free: 45.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.3618, allocations: 234.7 kB / 456.6 MB, free: 45.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.207, allocations: 1.25 kB / 456.6 MB, free: 45.16 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches