Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001239/0.001239, allocations: 106.9 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.001743/0.001743, 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.463/1.463, 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.256/0.256, allocations: 44.17 MB / 336.1 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 65.25 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 60.83 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003686/0.1244, allocations: 1.761 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1262, allocations: 0.8575 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.436e-05/0.1263, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.1266, allocations: 79.81 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1269, allocations: 75.73 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.1273, allocations: 95.52 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1276, allocations: 107.7 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1277, allocations: 12.22 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1278, allocations: 47.77 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.128, allocations: 59.77 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.128, allocations: 4 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1282, allocations: 43.97 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.1283, allocations: 19.92 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.1283, allocations: 27.75 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.1287, allocations: 115.8 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1287, allocations: 8 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1287, allocations: 0 / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1287, allocations: 0 / 471.9 MB, free: 11.42 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005951/0.1293, allocations: 414.9 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1294, allocations: 12.03 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.1294, allocations: 38.73 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1295, allocations: 12.84 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1298, allocations: 212.5 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1298, allocations: 8.375 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1298, allocations: 3.938 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.13, allocations: 53.67 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.13, allocations: 0 / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.13, allocations: 7.938 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.13, allocations: 7.938 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.1301, allocations: 15.98 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.1305, allocations: 284.9 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1307, allocations: 58.67 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1307, allocations: 24.8 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1308, allocations: 0 / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.131, allocations: 67.39 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.131, allocations: 0 / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005674/0.1316, allocations: 185 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1316, allocations: 55.41 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1319, allocations: 223.4 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1319, allocations: 29.7 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.132, allocations: 104.1 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.132, allocations: 23.66 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.1321, allocations: 25.7 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1323, allocations: 322.8 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.1323, allocations: 20 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.1324, allocations: 33.7 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1325, allocations: 69.64 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1326, allocations: 0 / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.1328, allocations: 93.53 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1328, allocations: 11.98 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1328, allocations: 0 / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1328, allocations: 0 / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.1329, allocations: 12 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1329, allocations: 4.031 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.133, allocations: 12.31 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.133, allocations: 7.984 kB / 474.3 MB, free: 8.77 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 (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.0001035/0.1331, allocations: 121.8 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.1331, allocations: 11.81 kB / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.1332, allocations: 21.39 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1332, allocations: 8 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1332, allocations: 3.938 kB / 474.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1332, allocations: 3.938 kB / 474.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.1337, allocations: 391.4 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.1337, allocations: 3.938 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.1338, allocations: 15.92 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1338, allocations: 3.938 kB / 474.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1338, allocations: 4 kB / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1338, allocations: 0 / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1338, allocations: 3.984 kB / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.134, allocations: 208.2 kB / 475.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.1341, allocations: 85.02 kB / 475.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1341, allocations: 11.92 kB / 475.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.1342, allocations: 192 / 475.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.1343, allocations: 15.92 kB / 475.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1343, allocations: 7.938 kB / 475.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1344, allocations: 159.2 kB / 475.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1344, allocations: 0 / 475.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1347, allocations: 24 kB / 475.4 MB, free: 7.582 MB / 350.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.001439/0.1361, allocations: 1.093 MB / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.1363, allocations: 59.92 kB / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1363, allocations: 0 / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.1364, allocations: 27.92 kB / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1367, allocations: 35.77 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1386, allocations: 1.711 MB / 478.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1389, allocations: 0.7004 MB / 479 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.139, allocations: 24.78 kB / 479.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.139, allocations: 39.42 kB / 479.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.139, allocations: 0 / 479.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.1527, allocations: 3.237 MB / 482.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.1529, allocations: 234.9 kB / 482.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.02, allocations: 0 / 482.6 MB, free: 0.5547 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches