Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.001858/0.001858, allocations: 103.4 kB / 16.4 MB, free: 6.469 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.001219/0.001219, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.414/1.414, 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.215/0.215, 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.002255/0.002255, allocations: 77.44 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1232, allocations: 57.81 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003482/0.1267, allocations: 1.673 MB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1283, allocations: 0.8078 MB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.1284, allocations: 0 / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.1287, allocations: 43.7 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.129, allocations: 47.77 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.1294, allocations: 95.7 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1296, allocations: 91.69 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1297, allocations: 24.2 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1298, allocations: 43.77 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.1299, allocations: 27.86 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.1299, allocations: 4 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1301, allocations: 39.98 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.1301, allocations: 23.91 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.1302, allocations: 27.81 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.1305, allocations: 119.4 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1305, allocations: 0 / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1305, allocations: 0 / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1305, allocations: 8 kB / 0.4905 GB, free: 9.109 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.0006524/0.1312, allocations: 398.8 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.1313, allocations: 15.89 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.1313, allocations: 38.73 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1314, allocations: 8.891 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.1318, allocations: 200.5 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1318, allocations: 4 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1318, allocations: 7.984 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.132, allocations: 61.61 kB / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1321, allocations: 4 kB / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1321, allocations: 0 / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1321, allocations: 0 / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.977e-05/0.1322, allocations: 19.98 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.1326, allocations: 280.9 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1328, allocations: 58.62 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.1329, allocations: 20.84 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1329, allocations: 4 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.1331, allocations: 63.39 kB / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1331, allocations: 0 / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005978/0.1337, allocations: 173.4 kB / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1338, allocations: 59.34 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.134, allocations: 158.4 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.134, allocations: 29.7 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.1341, allocations: 92.14 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.1341, allocations: 27.78 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.1342, allocations: 25.72 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1344, allocations: 322.8 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.137e-05/0.1344, allocations: 15.98 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.1345, allocations: 49.58 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1347, allocations: 61.69 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1347, allocations: 0 / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002081/0.1349, allocations: 105.6 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1349, allocations: 8 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.1349, allocations: 3.938 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.135, allocations: 4.031 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.1351, allocations: 24.3 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1351, allocations: 0 / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.1351, allocations: 4 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1352, allocations: 4 kB / 0.4927 GB, free: 6.555 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.000118/0.1353, allocations: 133.7 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1353, allocations: 7.953 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.1354, allocations: 16.66 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1354, allocations: 0 / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1354, allocations: 4 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1354, allocations: 0 / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.1359, allocations: 391.2 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.1359, allocations: 7.984 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.136, allocations: 7.984 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.136, allocations: 4 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.136, allocations: 0 / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.136, allocations: 0 / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.136, allocations: 8.031 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1363, allocations: 200.2 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.1364, allocations: 85.06 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1364, allocations: 11.98 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.1365, allocations: 0 / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1365, allocations: 4 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1365, allocations: 11.98 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1367, allocations: 123.9 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1367, allocations: 0 / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1369, allocations: 23.94 kB / 0.4937 GB, free: 5.426 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.002177/0.1391, allocations: 1.103 MB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.1393, allocations: 59.95 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.1393, allocations: 0 / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.523e-05/0.1394, allocations: 35.98 kB / 0.4949 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1398, allocations: 23.98 kB / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.1419, allocations: 1.573 MB / 0.4965 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.1424, allocations: 0.7041 MB / 0.4971 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.557e-05/0.1424, allocations: 16.88 kB / 0.4972 GB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.1425, allocations: 31.42 kB / 0.4972 GB, free: 1.785 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1425, allocations: 0 / 0.4972 GB, free: 1.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.1692, allocations: 3.248 MB / 0.5004 GB, free: 14.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.093, allocations: 4 kB / 0.5004 GB, free: 14.51 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches