Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.00126/0.00126, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001218/0.001218, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2154/0.2154, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 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.002023/0.002023, allocations: 73.61 kB / 441.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1235, allocations: 57.79 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003567/0.1272, allocations: 1.836 MB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1287, allocations: 0.9128 MB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.1289, allocations: 3.938 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.1293, allocations: 223.4 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.1297, allocations: 167.4 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1301, allocations: 147.6 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.1304, allocations: 231.3 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1305, allocations: 29.52 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1307, allocations: 115.6 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1309, allocations: 143.5 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1309, allocations: 4 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.131, allocations: 47.98 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.423e-05/0.1311, allocations: 55.77 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.1312, allocations: 83.36 kB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.1315, allocations: 214.9 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1316, allocations: 0 / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.656e-06/0.1316, allocations: 4 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1316, allocations: 4 kB / 0.4916 GB, free: 7.98 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008229/0.1324, allocations: 0.5406 MB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1325, allocations: 15.89 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.1325, allocations: 38.73 kB / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.1326, allocations: 28.75 kB / 0.4922 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.133, allocations: 276.4 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.133, allocations: 8.359 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.133, allocations: 7.938 kB / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.1333, allocations: 103.3 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1333, allocations: 4 kB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1333, allocations: 4 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.1333, allocations: 0 / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1334, allocations: 39.97 kB / 0.4926 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.134, allocations: 456.9 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.1343, allocations: 113.3 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.1344, allocations: 41.7 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.1345, allocations: 4 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.1347, allocations: 113 kB / 0.4933 GB, free: 6.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1347, allocations: 0 / 0.4933 GB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000912/0.1356, allocations: 372.5 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.1357, allocations: 89.05 kB / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.1362, allocations: 428.5 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1362, allocations: 25.7 kB / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1363, allocations: 156.3 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.1364, allocations: 51.58 kB / 0.4944 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.1365, allocations: 37.7 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1366, allocations: 346.7 kB / 0.4947 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1367, allocations: 43.97 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1369, allocations: 75.02 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.1371, allocations: 119.3 kB / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1371, allocations: 0 / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003299/0.1375, allocations: 181.4 kB / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1375, allocations: 4 kB / 0.4951 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1375, allocations: 4 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1375, allocations: 0 / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1377, allocations: 43.86 kB / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1377, allocations: 0 / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.447e-05/0.1377, allocations: 8.734 kB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1378, allocations: 8 kB / 0.4952 GB, free: 3.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001549/0.1379, allocations: 169.8 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.138, allocations: 31.77 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.1381, allocations: 42.56 kB / 0.4954 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.1381, allocations: 7.938 kB / 0.4954 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1381, allocations: 0 / 0.4954 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1381, allocations: 4 kB / 0.4954 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007802/0.1389, allocations: 0.6284 MB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1389, allocations: 0 / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.139, allocations: 19.94 kB / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.139, allocations: 3.984 kB / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.139, allocations: 4 kB / 0.4961 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.139, allocations: 4 kB / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.139, allocations: 0 / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.1394, allocations: 372.2 kB / 0.4964 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.1395, allocations: 104.9 kB / 0.4965 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1396, allocations: 4 kB / 0.4965 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.1397, allocations: 11.98 kB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.1398, allocations: 7.984 kB / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.1398, allocations: 8 kB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000328/0.1401, allocations: 323 kB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1401, allocations: 0 / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.1405, allocations: 40 kB / 0.4969 GB, free: 2.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002352/0.1428, allocations: 1.268 MB / 0.4982 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.1431, allocations: 119.8 kB / 0.4983 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1431, allocations: 0 / 0.4983 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1433, allocations: 55.91 kB / 0.4983 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.1438, allocations: 57.67 kB / 0.4984 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.1471, allocations: 2.637 MB / 0.501 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1475, allocations: 0.7632 MB / 0.5017 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.537e-05/0.1476, allocations: 37.92 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1477, allocations: 83.41 kB / 0.5018 GB, free: 12.94 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1477, allocations: 0 / 0.5018 GB, free: 12.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.1758, allocations: 5.746 MB / 0.5074 GB, free: 7.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.112, allocations: 3.938 kB / 0.5074 GB, free: 7.16 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches