Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.0008538/0.0008537, allocations: 96.94 kB / 16.02 MB, free: 84 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.0009003/0.0009002, allocations: 182.7 kB / 16.91 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.566/1.566, allocations: 205.4 MB / 223.1 MB, free: 5.543 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.377/0.377, allocations: 43.58 MB / 315 MB, free: 9.047 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.0005605/0.0005605, allocations: 23.98 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1177, allocations: 58.86 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002517/0.1203, allocations: 1.622 MB / 445.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1216, allocations: 0.808 MB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.1217, allocations: 3.938 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.122, allocations: 39.83 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.1222, allocations: 47.77 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1224, allocations: 91.83 kB / 446.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1226, allocations: 127.6 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1228, allocations: 29.7 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.1229, allocations: 55.7 kB / 446.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.1229, allocations: 43.66 kB / 446.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.123, allocations: 4 kB / 446.4 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.918e-05/0.1231, allocations: 43.97 kB / 446.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.1231, allocations: 19.92 kB / 446.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.1232, allocations: 77.31 kB / 446.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1234, allocations: 131.6 kB / 446.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1234, allocations: 4 kB / 446.7 MB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1235, allocations: 0 / 446.7 MB, free: 9.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.1235, allocations: 0 / 446.7 MB, free: 9.641 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005584/0.124, allocations: 464.5 kB / 447.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1241, allocations: 8.031 kB / 447.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.1241, allocations: 38.75 kB / 447.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1242, allocations: 24.73 kB / 447.2 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.1244, allocations: 216.8 kB / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1245, allocations: 4.375 kB / 447.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1245, allocations: 15.88 kB / 447.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1247, allocations: 111.9 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1247, allocations: 0 / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1248, allocations: 0 / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1248, allocations: 0 / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.125, allocations: 59.91 kB / 447.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.1255, allocations: 0.5126 MB / 448.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.1259, allocations: 90.61 kB / 448.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.126, allocations: 44.81 kB / 448.3 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.126, allocations: 3.938 kB / 448.3 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.1262, allocations: 91.31 kB / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1263, allocations: 0 / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004114/0.1267, allocations: 149.3 kB / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.1267, allocations: 55.41 kB / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1269, allocations: 191.5 kB / 448.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.127, allocations: 29.7 kB / 448.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.1271, allocations: 115.9 kB / 448.9 MB, free: 7.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1271, allocations: 27.64 kB / 448.9 MB, free: 7.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1271, allocations: 21.7 kB / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1273, allocations: 326.8 kB / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.036e-05/0.1274, allocations: 35.98 kB / 449.3 MB, free: 6.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1275, allocations: 60.27 kB / 449.3 MB, free: 6.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1277, allocations: 96.22 kB / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1277, allocations: 4 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002663/0.128, allocations: 145.7 kB / 449.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.128, allocations: 4.094 kB / 449.6 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.128, allocations: 8.062 kB / 449.6 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.128, allocations: 7.938 kB / 449.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.1281, allocations: 23.98 kB / 449.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1281, allocations: 0 / 449.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.1282, allocations: 19.89 kB / 449.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1282, allocations: 4 kB / 449.6 MB, free: 6.395 MB / 382.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.000108/0.1283, allocations: 125.8 kB / 449.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1284, allocations: 15.91 kB / 449.8 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.1284, allocations: 17.39 kB / 449.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1284, allocations: 3.938 kB / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.1284, allocations: 0 / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1285, allocations: 0 / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1286, allocations: 217.4 kB / 450 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1286, allocations: 0 / 450 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.1287, allocations: 15.98 kB / 450 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1287, allocations: 0 / 450 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1287, allocations: 3.938 kB / 450 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1288, allocations: 7.938 kB / 450 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1288, allocations: 4 kB / 450 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.1291, allocations: 180.9 kB / 450.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.1292, allocations: 92.94 kB / 450.3 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1292, allocations: 8 kB / 450.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.1293, allocations: 19.98 kB / 450.3 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1294, allocations: 7.938 kB / 450.3 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1294, allocations: 7.984 kB / 450.4 MB, free: 5.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1295, allocations: 133.2 kB / 450.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1295, allocations: 0 / 450.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1297, allocations: 32.11 kB / 450.5 MB, free: 5.422 MB / 382.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.001402/0.1311, allocations: 1.029 MB / 451.5 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1314, allocations: 91.95 kB / 451.6 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1314, allocations: 0 / 451.6 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.1315, allocations: 39.92 kB / 451.7 MB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1318, allocations: 39.89 kB / 451.7 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.1336, allocations: 1.785 MB / 453.5 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1339, allocations: 0.7162 MB / 454.2 MB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.997e-05/0.134, allocations: 21.41 kB / 454.2 MB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.134, allocations: 43.42 kB / 454.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.134, allocations: 0 / 454.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6252/0.7593, allocations: 3.282 MB / 457.6 MB, free: 45.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.7595, allocations: 235.5 kB / 457.8 MB, free: 44.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.116, allocations: 0 / 457.8 MB, free: 44.8 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches