Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.001285/0.001285, allocations: 107.7 kB / 16.41 MB, free: 6.406 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.0014/0.0014, allocations: 189.5 kB / 17.34 MB, free: 5.695 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.49/1.49, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2309/0.2309, allocations: 43.52 MB / 314.1 MB, free: 452 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.001995/0.001995, allocations: 69.45 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1289, allocations: 57.8 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003139/0.1321, allocations: 1.689 MB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1344, allocations: 1.406 MB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1345, allocations: 4 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.1349, allocations: 47.7 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.1352, allocations: 63.75 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1355, allocations: 87.7 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1357, allocations: 91.75 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1358, allocations: 16.2 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.1359, allocations: 43.78 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.1361, allocations: 35.84 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1361, allocations: 7.938 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1362, allocations: 63.97 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.1363, allocations: 11.98 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.1364, allocations: 39.73 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1366, allocations: 123.5 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1366, allocations: 0 / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1366, allocations: 0 / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1366, allocations: 4 kB / 0.4911 GB, free: 8.461 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000596/0.1372, allocations: 398.8 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1373, allocations: 15.89 kB / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.1374, allocations: 38.73 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.1374, allocations: 12.83 kB / 0.4916 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1377, allocations: 208.2 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1378, allocations: 384 / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1378, allocations: 3.938 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.138, allocations: 67.39 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.138, allocations: 0 / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.138, allocations: 4 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.138, allocations: 8 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/0.1381, allocations: 15.98 kB / 0.4919 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.1385, allocations: 292.7 kB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1387, allocations: 62.66 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.1388, allocations: 16.86 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1388, allocations: 4 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.139, allocations: 75.31 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.139, allocations: 0 / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000573/0.1396, allocations: 165.5 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.1397, allocations: 81.05 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1399, allocations: 157.7 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1399, allocations: 29.7 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.14, allocations: 100.1 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.14, allocations: 23.8 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.1401, allocations: 25.7 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1402, allocations: 318.8 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.1403, allocations: 23.98 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.1404, allocations: 42.56 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.1405, allocations: 69.72 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1405, allocations: 0 / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001963/0.1407, allocations: 97.64 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1407, allocations: 4 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1408, allocations: 0 / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1408, allocations: 0 / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.1409, allocations: 23.92 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1409, allocations: 0 / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.1409, allocations: 7.969 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.141, allocations: 7.938 kB / 0.4934 GB, free: 5.848 MB / 382.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.0001068/0.1411, allocations: 129.8 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.1411, allocations: 7.953 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.1411, allocations: 12.72 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1412, allocations: 0 / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1412, allocations: 0 / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1412, allocations: 7.922 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.1416, allocations: 395.3 kB / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1416, allocations: 0 / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1417, allocations: 8 kB / 0.4939 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.1417, allocations: 7.938 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1417, allocations: 0 / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1417, allocations: 3.984 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1417, allocations: 3.938 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.142, allocations: 200.4 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.142, allocations: 85.06 kB / 0.4942 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1421, allocations: 3.938 kB / 0.4942 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.1422, allocations: 4.375 kB / 0.4942 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1422, allocations: 11.98 kB / 0.4943 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1422, allocations: 4 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.961e-05/0.1423, allocations: 118.7 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1423, allocations: 4 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1426, allocations: 27.94 kB / 0.4944 GB, free: 4.727 MB / 382.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.002244/0.1449, allocations: 1.138 MB / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1451, allocations: 63.91 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1451, allocations: 4.062 kB / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.1452, allocations: 31.98 kB / 0.4956 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1455, allocations: 27.86 kB / 0.4956 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1474, allocations: 1.559 MB / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1477, allocations: 0.7002 MB / 0.4978 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.1478, allocations: 17.34 kB / 0.4979 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.1479, allocations: 39.34 kB / 0.4979 GB, free: 1.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1479, allocations: 3.938 kB / 0.4979 GB, free: 1.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.1774, allocations: 3.543 MB / 0.5014 GB, free: 13.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/7.985, allocations: 4 kB / 0.5014 GB, free: 13.43 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches