Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",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.00137/0.00137, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001603/0.001603, allocations: 192 kB / 18.56 MB, free: 4.434 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.326/1.326, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2114/0.2114, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 58.73 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.004752/0.1346, allocations: 1.553 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1368, allocations: 1.012 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.1368, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.1371, allocations: 31.78 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.1375, allocations: 43.77 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1378, allocations: 83.78 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.138, allocations: 59.77 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1382, allocations: 15.98 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.1382, allocations: 15.94 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.1384, allocations: 27.84 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1385, allocations: 4 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1386, allocations: 51.97 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.1387, allocations: 7.938 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.1388, allocations: 31.84 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.139, allocations: 88.06 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.139, allocations: 3.938 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1391, allocations: 0 / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1391, allocations: 0 / 472.4 MB, free: 11.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006094/0.1397, allocations: 377.6 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1397, allocations: 8.031 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.1398, allocations: 34.73 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1399, allocations: 8.844 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1401, allocations: 196.2 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1401, allocations: 384 / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1402, allocations: 8.375 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1404, allocations: 67.27 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1404, allocations: 0 / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1404, allocations: 0 / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1405, allocations: 3.938 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1406, allocations: 23.98 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.1411, allocations: 272.9 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1414, allocations: 42.5 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/0.1415, allocations: 20.94 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1415, allocations: 0 / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1416, allocations: 34.56 kB / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1416, allocations: 0 / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006758/0.1423, allocations: 141.3 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.1424, allocations: 81.11 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1425, allocations: 129.8 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1426, allocations: 33.7 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.1426, allocations: 92.08 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.1427, allocations: 19.8 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1427, allocations: 13.72 kB / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1429, allocations: 322.8 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.143, allocations: 19.98 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.1431, allocations: 33.64 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1432, allocations: 56.8 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1433, allocations: 192 / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002558/0.1435, allocations: 81.58 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1435, allocations: 4 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1436, allocations: 0 / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1436, allocations: 0 / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.1437, allocations: 11.98 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1437, allocations: 8 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/0.1438, allocations: 0 / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1438, allocations: 7.938 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.148e-05/0.1439, allocations: 113.8 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.1439, allocations: 11.89 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.1442, allocations: 93.55 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1443, allocations: 0 / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1443, allocations: 4 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1443, allocations: 4 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/0.1448, allocations: 342.4 kB / 475 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1448, allocations: 3.938 kB / 475 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.1449, allocations: 19.98 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1449, allocations: 0 / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.145, allocations: 0 / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.145, allocations: 3.938 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.145, allocations: 4 kB / 475.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1452, allocations: 175.7 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.1453, allocations: 85.3 kB / 475.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1453, allocations: 4 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.1454, allocations: 7.938 kB / 475.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.1454, allocations: 7.969 kB / 475.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1454, allocations: 8 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.124e-05/0.1455, allocations: 107.2 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1455, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1458, allocations: 23.98 kB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001397/0.1472, allocations: 1.038 MB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1474, allocations: 47.91 kB / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1474, allocations: 4 kB / 476.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.182e-05/0.1475, allocations: 27.97 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1478, allocations: 19.56 kB / 476.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1494, allocations: 1.377 MB / 478 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1497, allocations: 0.6924 MB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.544e-05/0.1498, allocations: 16.05 kB / 478.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.1498, allocations: 19.44 kB / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1498, allocations: 0 / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.1712, allocations: 2.662 MB / 481.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.378, allocations: 10.86 kB / 481.4 MB, free: 1.969 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches