Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.001714/0.001713, allocations: 108.3 kB / 17.21 MB, free: 6.273 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.00154/0.00154, allocations: 194 kB / 18.12 MB, free: 5.363 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.424/1.424, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.222/0.222, allocations: 44.18 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.28 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1153, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003851/0.1192, allocations: 1.961 MB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1208, allocations: 0.9042 MB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1209, allocations: 4 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.1213, allocations: 39.83 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.1215, allocations: 47.77 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.1218, allocations: 111.8 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.122, allocations: 139.5 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1221, allocations: 29.48 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.252e-05/0.1222, allocations: 47.78 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.1223, allocations: 51.7 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1224, allocations: 4 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1225, allocations: 43.92 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.1225, allocations: 19.92 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.1226, allocations: 55.59 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1228, allocations: 139.8 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1228, allocations: 0 / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1229, allocations: 0 / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1229, allocations: 0 / 472.2 MB, free: 11.14 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006301/0.1235, allocations: 476.6 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1235, allocations: 8.031 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.1236, allocations: 42.69 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.1236, allocations: 12.75 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1239, allocations: 224.5 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.124, allocations: 8.375 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.124, allocations: 7.938 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1243, allocations: 115 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1243, allocations: 0 / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1243, allocations: 7.938 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1243, allocations: 4 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.1245, allocations: 43.97 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.1251, allocations: 0.5087 MB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.1255, allocations: 86.59 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.1256, allocations: 44.83 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1256, allocations: 7.984 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.1259, allocations: 79.38 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1259, allocations: 0 / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004116/0.1263, allocations: 149.3 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1264, allocations: 55.41 kB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1266, allocations: 191.5 kB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1266, allocations: 29.7 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.1267, allocations: 116 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.1267, allocations: 31.59 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.1267, allocations: 29.66 kB / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1269, allocations: 326.8 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.127, allocations: 27.98 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1271, allocations: 64.28 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1273, allocations: 92.2 kB / 475 MB, free: 8.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1273, allocations: 4 kB / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002867/0.1276, allocations: 137.3 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1276, allocations: 8 kB / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1276, allocations: 0 / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1276, allocations: 11.94 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1278, allocations: 23.92 kB / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1278, allocations: 4 kB / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.623e-05/0.1279, allocations: 16.05 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1279, allocations: 8.469 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001049/0.128, allocations: 124.2 kB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.128, allocations: 15.81 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1281, allocations: 17.39 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1281, allocations: 7.875 kB / 475.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1281, allocations: 3.938 kB / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1281, allocations: 0 / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1283, allocations: 205.6 kB / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1283, allocations: 11.94 kB / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.68e-05/0.1284, allocations: 11.98 kB / 475.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1284, allocations: 0 / 475.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1284, allocations: 4 kB / 475.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1284, allocations: 3.938 kB / 475.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1284, allocations: 0 / 475.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1288, allocations: 176.8 kB / 475.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.1289, allocations: 96.95 kB / 475.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.1289, allocations: 7.984 kB / 475.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.129, allocations: 7.938 kB / 475.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.129, allocations: 7.984 kB / 475.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.129, allocations: 8 kB / 475.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1291, allocations: 137.2 kB / 476 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1291, allocations: 0 / 476 MB, free: 6.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1294, allocations: 24 kB / 476 MB, free: 6.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001434/0.1308, allocations: 1.024 MB / 477 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.1311, allocations: 71.91 kB / 477.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/0.1311, allocations: 8.25 kB / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1312, allocations: 39.84 kB / 477.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1315, allocations: 36.3 kB / 477.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.1335, allocations: 1.761 MB / 479 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1338, allocations: 0.7161 MB / 479.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.1339, allocations: 25.39 kB / 479.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.134, allocations: 39.42 kB / 479.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.134, allocations: 0 / 479.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.1479, allocations: 3.485 MB / 483.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.1481, allocations: 234 kB / 483.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.184, allocations: 0 / 483.5 MB, free: 15.61 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches